You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jc...@apache.org on 2020/02/21 00:24:41 UTC

[geode] 01/01: Set log-level to debug

This is an automated email from the ASF dual-hosted git repository.

jchen21 pushed a commit to branch feature/GEODE-7784
in repository https://gitbox.apache.org/repos/asf/geode.git

commit f857a7f8dca7d3f4977645b05071012fd696e0b9
Author: Jianxia Chen <jc...@pivotal.io>
AuthorDate: Thu Feb 20 16:08:06 2020 -0800

    Set log-level to debug
    
    Also disable unnecessary tests
    
    Authored-by: Jianxia Chen <jc...@pivotal.io>
---
 .../cache/PutAllClientServerDistributedTest.java   | 45 +++++++++++-----------
 1 file changed, 23 insertions(+), 22 deletions(-)

diff --git a/geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/PutAllClientServerDistributedTest.java b/geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/PutAllClientServerDistributedTest.java
index 34b1671..53aa263 100755
--- a/geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/PutAllClientServerDistributedTest.java
+++ b/geode-cq/src/distributedTest/java/org/apache/geode/internal/cache/PutAllClientServerDistributedTest.java
@@ -217,7 +217,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
   /**
    * Tests putAll to one server.
    */
-  @Test
+
   public void testOneServer() throws Exception {
     int serverPort = server1.invoke(() -> new ServerBuilder()
         .regionShortcut(REPLICATE)
@@ -373,7 +373,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
   /**
    * Tests putAll afterUpdate event contained oldValue.
    */
-  @Test
+
   public void testOldValueInEvent() {
     // set notifyBySubscription=false to test local-invalidates
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -503,7 +503,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
    * Tests putAll and removeAll to 2 servers. Use Case: 1) putAll from a single-threaded client to a
    * replicated region 2) putAll from a multi-threaded client to a replicated region 3)
    */
-  @Test
+
   public void test2Server() throws Exception {
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
         .regionShortcut(REPLICATE)
@@ -831,7 +831,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
     });
   }
 
-  @Test
+
   @Parameters({"true", "false"})
   @TestCaseName("{method}(concurrencyChecksEnabled={0})")
   public void test2NormalServer(boolean concurrencyChecksEnabled) {
@@ -1024,7 +1024,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
     });
   }
 
-  @Test
+
   @Parameters({"PARTITION,1", "PARTITION,0", "REPLICATE,0"})
   @TestCaseName("{method}(isPR={0}, redundantCopies={1})")
   public void testPRServerRVDuplicatedKeys(RegionShortcut regionShortcut, int redundantCopies) {
@@ -1189,7 +1189,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
    * 2) grep Object_82470 *.log and found the mismatched key is originated from 14640.
    * </pre>
    */
-  @Test
+
   @Parameters({"true", "false"})
   @TestCaseName("{method}(singleHop={0})")
   public void testBug51725(boolean singleHop) {
@@ -1290,7 +1290,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
   /**
    * Tests putAll to 2 PR servers.
    */
-  @Test
+
   public void testPRServer() throws Exception {
     // set <true, false> means <PR=true, notifyBySubscription=false> to test local-invalidates
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -1608,7 +1608,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
    * Checks to see if a client does a destroy that throws an exception from CacheWriter
    * beforeDestroy that the size of the region is still correct. See bug 51583.
    */
-  @Test
+
   public void testClientDestroyOfUncreatedEntry() {
     // set <true, false> means <PR=true, notifyBySubscription=false> to test local-invalidates
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -1656,7 +1656,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
   /**
    * Tests partial key putAll and removeAll to 2 servers with local region
    */
-  @Test
+
   public void testPartialKeyInLocalRegion() {
     // set <true, false> means <PR=true, notifyBySubscription=false> to test local-invalidates
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -1833,7 +1833,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
    * Tests partial key putAll to 2 PR servers, because putting data at server side is different
    * between PR and LR. PR does it in postPutAll. It's not running in singleHop putAll
    */
-  @Test
+
   public void testPartialKeyInPR() throws Exception {
     // set <true, false> means <PR=true, notifyBySubscription=false> to test local-invalidates
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -1985,7 +1985,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
    * Tests partial key putAll to 2 PR servers, because putting data at server side is different
    * between PR and LR. PR does it in postPutAll. This is a singlehop putAll test.
    */
-  @Test
+
   public void testPartialKeyInPRSingleHop() throws Exception {
     // set <true, false> means <PR=true, notifyBySubscription=false> to test local-invalidates
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -2144,7 +2144,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
   /**
    * Set redundancy=1 to see if retry succeeded after PRE This is a singlehop putAll test.
    */
-  @Test
+
   public void testPartialKeyInPRSingleHopWithRedundancy() throws Exception {
     // set <true, false> means <PR=true, notifyBySubscription=false> to test local-invalidates
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -2261,7 +2261,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
    * Tests bug 41403: let 2 sub maps both failed with partial key applied. This is a singlehop
    * putAll test.
    */
-  @Test
+
   public void testEventIdMisorderInPRSingleHop() throws Exception {
     VM server3 = client2;
 
@@ -2367,7 +2367,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
    * Tests while putAll to 2 distributed servers, one server failed over Add a listener to slow down
    * the processing of putAll
    */
-  @Test
+
   public void test2FailOverDistributedServer() throws Exception {
     // set notifyBySubscription=true to test register interest
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -2449,7 +2449,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
   /**
    * Tests while putAll timeout's exception
    */
-  @Test
+
   public void testClientTimeOut() {
     // set notifyBySubscription=true to test register interest
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -2494,7 +2494,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
   /**
    * Tests while putAll timeout at endpoint1 and switch to endpoint2
    */
-  @Test
+
   public void testEndPointSwitch() {
     // set notifyBySubscription=true to test register interest
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -2555,7 +2555,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
    * Tests while putAll to 2 distributed servers, one server failed over Add a listener to slow down
    * the processing of putAll
    */
-  @Test
+
   public void testHADRFailOver() throws Exception {
     addIgnoredException(DistributedSystemDisconnectedException.class);
 
@@ -2628,7 +2628,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
     });
   }
 
-  @Test
+
   public void testVersionsOnClientsWithNotificationsOnly() {
     // set notifyBySubscription=true to test register interest
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -2713,7 +2713,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
   /**
    * basically same test as testVersionsOnClientsWithNotificationsOnly but also do a removeAll
    */
-  @Test
+
   public void testRAVersionsOnClientsWithNotificationsOnly() {
     // set notifyBySubscription=true to test register interest
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -2800,7 +2800,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
     }
   }
 
-  @Test
+
   public void testVersionsOnServersWithNotificationsOnly() {
     VM server3 = client2;
 
@@ -2888,7 +2888,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
   /**
    * Same test as testVersionsOnServersWithNotificationsOnly but also does a removeAll
    */
-  @Test
+
   public void testRAVersionsOnServersWithNotificationsOnly() {
     VM server3 = client2;
 
@@ -2977,7 +2977,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
     }
   }
 
-  @Test
+
   public void testVersionsOnReplicasAfterPutAllAndRemoveAll() {
     // set notifyBySubscription=true to test register interest
     int serverPort1 = server1.invoke(() -> new ServerBuilder()
@@ -3179,6 +3179,7 @@ public class PutAllClientServerDistributedTest implements Serializable {
 
       Properties config = getDistributedSystemProperties();
       config.setProperty(LOCATORS, locators);
+      config.setProperty("log-level", "debug");
 
       createCache(new CacheFactory(config));