http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c05f6798/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRColocatedEquiJoinDUnitTest.java ---------------------------------------------------------------------- diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRColocatedEquiJoinDUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRColocatedEquiJoinDUnitTest.java index 79ac200..e6b17e7 100644 --- a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRColocatedEquiJoinDUnitTest.java +++ b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRColocatedEquiJoinDUnitTest.java @@ -55,7 +55,7 @@ import com.gemstone.gemfire.internal.cache.PartitionedRegionDUnitTestCase; import com.gemstone.gemfire.internal.i18n.LocalizedStrings; import com.gemstone.gemfire.test.dunit.Host; import com.gemstone.gemfire.test.dunit.IgnoredException; -import com.gemstone.gemfire.test.dunit.LogWriterSupport; +import com.gemstone.gemfire.test.dunit.LogWriterUtils; import com.gemstone.gemfire.test.dunit.VM; import com.gemstone.gemfire.test.dunit.Wait; @@ -102,40 +102,40 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(name, redundancy, Portfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedCreate(coloName, redundancy, name)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -161,7 +161,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -170,7 +170,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedDataSetQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -181,29 +181,29 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(name, redundancy, Portfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -227,7 +227,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase partitionedregion = cache.createRegion(coloName, attr.create()); } catch (IllegalStateException ex) { - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .warning( "PRQueryDUnitHelper#getCacheSerializableRunnableForPRCreateWithRedundancy: Creation caught IllegalStateException", ex); @@ -244,11 +244,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase } }); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -274,7 +274,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -360,7 +360,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase } catch (FunctionException e) { if (e.getCause() instanceof UnsupportedOperationException) { - LogWriterSupport.getLogWriter().info("Query received FunctionException successfully while using QueryService."); + LogWriterUtils.getLogWriter().info("Query received FunctionException successfully while using QueryService."); } else { fail("UnsupportedOperationException must be thrown here"); } @@ -368,7 +368,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase } }); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -385,13 +385,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -400,16 +400,16 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex1", "r1.ID", "/"+name+" r1", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex11", "r1.status", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -418,11 +418,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex2", "r2.id", "/"+coloName+" r2", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex22", "r2.status", "/"+coloName+" r2", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -448,7 +448,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -457,7 +457,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedDataSetQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -474,13 +474,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -489,27 +489,27 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex1", "r1.ID", "/"+name+" r1", null)); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex11", "r1.status", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedCreate(coloName, redundancy, name)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -535,7 +535,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -544,7 +544,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedDataSetQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -561,39 +561,39 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(name, redundancy, Portfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForLocalRegionCreation(coloName, NewPortfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -619,7 +619,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -628,7 +628,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedDataSetQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -645,13 +645,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -660,16 +660,16 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex1", "r1.ID", "/"+name+" r1", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex11", "r1.status", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -678,11 +678,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex2", "r2.id", "/"+coloName+" r2", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex22", "r2.status", "/"+coloName+" r2", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -708,7 +708,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -717,7 +717,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedDataSetQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -734,13 +734,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -749,26 +749,26 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex1", "r1.ID", "/"+name+" r1", null)); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex11", "r1.status", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForLocalRegionCreation(coloName, NewPortfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -794,7 +794,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -803,7 +803,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedDataSetQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -820,39 +820,39 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(coloName, redundancy, NewPortfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForLocalRegionCreation(name, Portfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -878,7 +878,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -887,7 +887,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedDataSetQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -904,13 +904,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -918,16 +918,16 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase redundancy, NewPortfolio.class)); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex1", "r2.id", "/"+coloName+" r2", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -935,11 +935,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex2", "r1.ID", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -965,7 +965,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -974,7 +974,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedDataSetQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -991,29 +991,29 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(coloName, redundancy, NewPortfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -1021,11 +1021,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex1", "r1.ID", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -1051,7 +1051,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -1060,7 +1060,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedDataSetQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -1078,13 +1078,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase VM vm0 = host.getVM(0); VM vm1 = host.getVM(1); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -1092,16 +1092,16 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase redundancy, Portfolio.class)); vm1.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(name, redundancy, Portfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -1109,11 +1109,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase redundancy, name)); vm1.invoke(PRQHelp.getCacheSerializableRunnableForPRColocatedCreate(coloName, redundancy, name)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -1139,7 +1139,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -1201,7 +1201,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase "PRQueryDUnitHelper#getCacheSerializableRunnableForPRQueryAndCompareResults: Caught unexpected query exception", e); } catch (QueryException e) { - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .error( "PRQueryDUnitHelper#getCacheSerializableRunnableForPRQueryAndCompareResults: Caught QueryException while querying" + e, e); @@ -1209,11 +1209,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase "PRQueryDUnitHelper#getCacheSerializableRunnableForPRQueryAndCompareResults: Caught unexpected query exception", e); } catch (UnsupportedOperationException uso) { - LogWriterSupport.getLogWriter().info(uso.getMessage()); + LogWriterUtils.getLogWriter().info(uso.getMessage()); if (!uso.getMessage().equalsIgnoreCase(LocalizedStrings.DefaultQuery_A_QUERY_ON_A_PARTITIONED_REGION_0_MAY_NOT_REFERENCE_ANY_OTHER_REGION_1.toLocalizedString(new Object[] {name, "/"+coloName}))) { fail("Query did not throw UnsupportedOperationException while using QueryService instead of LocalQueryService"); } else { - LogWriterSupport.getLogWriter().info("Query received UnsupportedOperationException successfully while using QueryService."); + LogWriterUtils.getLogWriter().info("Query received UnsupportedOperationException successfully while using QueryService."); } } finally { for (int i = 0; i < expectedExceptions.length; i++) { @@ -1225,7 +1225,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase } }); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -1235,13 +1235,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -1250,16 +1250,16 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex1", "r1.ID", "/"+name+" r1", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex11", "r1.status", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -1268,11 +1268,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex2", "r2.id", "/"+coloName+" r2, r2.positions.values pos2", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex22", "r2.status", "/"+coloName+" r2", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -1298,7 +1298,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -1307,7 +1307,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRAndRRQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -1318,13 +1318,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -1333,16 +1333,16 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex1", "r2.id", "/"+coloName+" r2", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex11", "r1.status", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -1351,11 +1351,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex2", "r1.ID", "/"+name+" r1, r1.positions.values pos1", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex22", "r2.status", "/"+coloName+" r2", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -1381,7 +1381,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -1390,7 +1390,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForRRAndPRQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -1400,13 +1400,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -1415,16 +1415,16 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex1", "r1.ID", "/"+name+" r1", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex11", "r1.status", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -1433,11 +1433,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex2", "pos2.id", "/"+coloName+" r2, r2.positions.values pos2", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex22", "r2.status", "/"+coloName+" r2", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -1463,7 +1463,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -1472,7 +1472,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRAndRRQueryWithCompactAndRangeIndexAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -1482,13 +1482,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase Host host = Host.getHost(0); VM vm0 = host.getVM(0); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -1497,16 +1497,16 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex1", "r1.ID", "/"+name+" r1", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(name, "IdIndex11", "r1.status", "/"+name+" r1", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the PR"); @@ -1515,11 +1515,11 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex2", "r2.id", "/"+coloName+" r2", null)); //vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRIndexCreate(coloName, "IdIndex22", "r2.status", "/"+coloName+" r2", null)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the Colocated DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -1548,7 +1548,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -1560,7 +1560,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRAndRRQueryAndCompareResults(name, coloName, localName, coloLocalName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); } @@ -1579,13 +1579,13 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase VM vm0 = host.getVM(0); VM vm1 = host.getVM(1); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR Test with DACK Started"); // Creting PR's on the participating VM's // Creating DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the DataStore node in the PR"); @@ -1593,22 +1593,22 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase 0, Portfolio.class)); vm1.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(name, 0, Portfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully created the DataStore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); // Creating Colocated Region DataStore node on the VM0. - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Creating the Colocated DataStore node in the RR"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForLocalRegionCreation(coloName, NewPortfolio.class)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Successfully Created PR's across all VM's"); @@ -1621,7 +1621,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(coloName, newPortfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Inserted Portfolio data across PR's"); @@ -1707,7 +1707,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase } catch (FunctionException e) { if (e.getCause() instanceof RegionNotFoundException) { - LogWriterSupport.getLogWriter().info("Query received FunctionException successfully while using QueryService."); + LogWriterUtils.getLogWriter().info("Query received FunctionException successfully while using QueryService."); } else { fail("RegionNotFoundException must be thrown here"); } @@ -1715,7 +1715,7 @@ public class PRColocatedEquiJoinDUnitTest extends PartitionedRegionDUnitTestCase } }); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQBasicQueryDUnitTest#testPRBasicQuerying: Querying PR's Test ENDED"); }
http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c05f6798/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRInvalidQueryDUnitTest.java ---------------------------------------------------------------------- diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRInvalidQueryDUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRInvalidQueryDUnitTest.java index adacf1b..aa7f1fe 100755 --- a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRInvalidQueryDUnitTest.java +++ b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRInvalidQueryDUnitTest.java @@ -25,7 +25,7 @@ package com.gemstone.gemfire.cache.query.partitioned; import com.gemstone.gemfire.cache.query.data.PortfolioData; import com.gemstone.gemfire.internal.cache.PartitionedRegionDUnitTestCase; import com.gemstone.gemfire.test.dunit.Host; -import com.gemstone.gemfire.test.dunit.LogWriterSupport; +import com.gemstone.gemfire.test.dunit.LogWriterUtils; import com.gemstone.gemfire.test.dunit.VM; public class PRInvalidQueryDUnitTest extends PartitionedRegionDUnitTestCase @@ -64,7 +64,7 @@ public class PRInvalidQueryDUnitTest extends PartitionedRegionDUnitTestCase public void testPRDAckCreationAndQueryingWithInvalidQuery() throws Exception { - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRInvalidQueryDUnitTest#testPRDAckCreationAndQueryingWithInvalidQuery: Querying PR Test with Expected InvalidQueryException*****"); Host host = Host.getHost(0); @@ -77,17 +77,17 @@ public class PRInvalidQueryDUnitTest extends PartitionedRegionDUnitTestCase // Creting PR's on the participating VM's // Creating Accessor node on the VM - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRInvalidQueryDUnitTest#testPRDAckCreationAndQueryingWithInvalidQuery: Creating the Accessor node in the PR"); vm0.invoke(prq.getCacheSerializableRunnableForPRAccessorCreate(name, redundancy)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRInvalidQueryDUnitTest#testPRDAckCreationAndQueryingWithInvalidQuery: Successfully created the Accessor node in the PR"); // Creating the Datastores Nodes in the VM's - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRInvalidQueryDUnitTest#testPRDAckCreationAndQueryingWithInvalidQuery: Creating the Datastore node in the PR"); vm1.invoke(prq.getCacheSerializableRunnableForPRCreate(name, @@ -96,11 +96,11 @@ public class PRInvalidQueryDUnitTest extends PartitionedRegionDUnitTestCase redundancy)); vm3.invoke(prq.getCacheSerializableRunnableForPRCreate(name, redundancy)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRInvalidQueryDUnitTest#testPRDAckCreationAndQueryingWithInvalidQuery: Successfully Created the Datastore node in the PR"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRInvalidQueryDUnitTest#testPRDAckCreationAndQueryingWithInvalidQuery: Successfully Created PR's across all VM's"); @@ -118,7 +118,7 @@ public class PRInvalidQueryDUnitTest extends PartitionedRegionDUnitTestCase + (2 * step), i + (3 * step))); vm3.invoke(prq.getCacheSerializableRunnableForPRPuts(name, portfolio, i + (3 * step), cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRInvalidQueryDUnitTest#testPRDAckCreationAndQueryingWithInvalidQuery: Successfully Inserted Portfolio data across PR's"); @@ -126,7 +126,7 @@ public class PRInvalidQueryDUnitTest extends PartitionedRegionDUnitTestCase // querying the VM for data vm0.invoke(prq.getCacheSerializableRunnableForPRInvalidQuery(name, invalidQuery)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRInvalidQueryDUnitTest#testPRDAckCreationAndQueryingWithInvalidQuery: *****Querying PR's Test with Expected Invalid Query Exception *****"); } http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c05f6798/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheCloseDUnitTest.java ---------------------------------------------------------------------- diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheCloseDUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheCloseDUnitTest.java index 5a4e65e..6c6c36f 100755 --- a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheCloseDUnitTest.java +++ b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheCloseDUnitTest.java @@ -37,8 +37,8 @@ import com.gemstone.gemfire.internal.cache.PartitionedRegionDUnitTestCase; import com.gemstone.gemfire.test.dunit.Assert; import com.gemstone.gemfire.test.dunit.AsyncInvocation; import com.gemstone.gemfire.test.dunit.Host; -import com.gemstone.gemfire.test.dunit.LogWriterSupport; -import com.gemstone.gemfire.test.dunit.Threads; +import com.gemstone.gemfire.test.dunit.LogWriterUtils; +import com.gemstone.gemfire.test.dunit.ThreadUtils; import com.gemstone.gemfire.test.dunit.VM; import com.gemstone.gemfire.test.dunit.Wait; @@ -91,7 +91,7 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase public void testPRWithCacheCloseInOneDatastoreWithDelay() throws Exception { - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Querying PR Test with cache Close PR operation*****"); Host host = Host.getHost(0); @@ -106,33 +106,33 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase // Creting PR's on the participating VM's // Creting Accessor PR's on the participating VM's - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Creating Accessor node on VM0"); accessor.invoke(PRQHelp.getCacheSerializableRunnableForPRAccessorCreate(name, redundancy)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Successfully Created Accessor node on VM0"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Creating PR's across all VM1 , VM2"); datastore1.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(name, redundancy)); datastore2.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(name, redundancy)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Successfully Created PR on VM1 , VM2"); // creating a local region on one of the JVM's - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Creating Local Region on VM0"); accessor.invoke(PRQHelp .getCacheSerializableRunnableForLocalRegionCreation(localName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Successfully Created Local Region on VM0"); @@ -142,36 +142,36 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase final PortfolioData[] portfolio = PRQHelp.createPortfolioData(cnt, cntDest); // Putting the data into the accessor node - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Inserting Portfolio data through the accessor node"); accessor.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(name, portfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Successfully Inserted Portfolio data through the accessor node"); // Putting the same data in the local region created - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Inserting Portfolio data on local node VM0 for result Set Comparison"); accessor.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(localName, portfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Successfully Inserted Portfolio data on local node VM0 for result Set Comparison"); Random random = new Random(); AsyncInvocation async0; // querying the VM for data - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Querying on VM0 both on PR Region & local ,also Comparing the Results sets from both"); async0 = accessor .invokeAsync(PRQHelp.getCacheSerializableRunnableForPRQueryAndCompareResults( name, localName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Calling for cache close on either of the Datastores VM1 , VM2 at random and then recreating the cache, with a predefined Delay "); for (int j = 0; j < queryTestCycle; j++) { @@ -180,7 +180,7 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase name, redundancy)); Wait.pause(threadSleepTime); } - Threads.join(async0, 5 * 60 * 1000, LogWriterSupport.getLogWriter()); + ThreadUtils.join(async0, 5 * 60 * 1000); if (async0.exceptionOccurred()) { // for now, certain exceptions when a region is closed are acceptable @@ -200,7 +200,7 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase } } - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithDelay: Querying with PR Operations ENDED*****"); } @@ -219,7 +219,7 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase */ public void testPRWithCacheCloseInOneDatastoreWithoutDelay() throws Exception { - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Querying PR Test with cache Close PR operation without delay*****"); Host host = Host.getHost(0); @@ -232,39 +232,39 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase vmList.add(vm2); // Creting PR's on the participating VM's - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Creating Accessor node on VM0"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRAccessorCreate(name, redundancy)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Successfully Created Accessor node on VM0"); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Creating PR's across all VM1 , VM2"); vm1.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(name, redundancy)); vm2.invoke(PRQHelp.getCacheSerializableRunnableForPRCreate(name, redundancy)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Successfully Created PR on VM1 , VM2"); // creating a local region on one of the JVM's - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Creating Local Region on VM0"); vm0.invoke(PRQHelp .getCacheSerializableRunnableForLocalRegionCreation(localName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Successfully Created Local Region on VM0"); - LogWriterSupport.getLogWriter().info("Successfully Created PR's across all VM's"); + LogWriterUtils.getLogWriter().info("Successfully Created PR's across all VM's"); // creating a local region on one of the JVM's - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Successfully Created Local Region on VM0"); @@ -273,22 +273,22 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase final PortfolioData[] portfolio = PRQHelp.createPortfolioData(cnt, cntDest); // Putting the data into the accessor node - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Inserting Portfolio data through the accessor node"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(name, portfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Successfully Inserted Portfolio data through the accessor node"); // Putting the same data in the local region created - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Inserting Portfolio data on local node VM0 for result Set Comparison"); vm0.invoke(PRQHelp.getCacheSerializableRunnableForPRPuts(localName, portfolio, cnt, cntDest)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Successfully Inserted Portfolio data on local node VM0 for result Set Comparison"); @@ -296,14 +296,14 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase AsyncInvocation async0; // querying the VM for data - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Querying on VM0 both on PR Region & local ,also Comparing the Results sets from both"); async0 = vm0 .invokeAsync(PRQHelp.getCacheSerializableRunnableForPRQueryAndCompareResults( name, localName)); - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Calling for cache close on either of the Datastores VM1 , VM2 at random and then recreating the cache, with no delay "); for (int j = 0; j < queryTestCycle; j++) { @@ -312,7 +312,7 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase name, redundancy)); } - Threads.join(async0, 5 * 60 * 1000, LogWriterSupport.getLogWriter()); + ThreadUtils.join(async0, 5 * 60 * 1000); if (async0.exceptionOccurred()) { // for now, certain exceptions when a region is closed are acceptable @@ -332,7 +332,7 @@ public class PRQueryCacheCloseDUnitTest extends PartitionedRegionDUnitTestCase } } - LogWriterSupport.getLogWriter() + LogWriterUtils.getLogWriter() .info( "PRQueryCacheCloseDUnitTest#testPRWithCacheCloseInOneDatastoreWithoutDelay: Querying with PR Operations without delay ENDED*****"); } http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/c05f6798/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheClosedJUnitTest.java ---------------------------------------------------------------------- diff --git a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheClosedJUnitTest.java b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheClosedJUnitTest.java index 025520a..da64daf 100755 --- a/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheClosedJUnitTest.java +++ b/gemfire-core/src/test/java/com/gemstone/gemfire/cache/query/partitioned/PRQueryCacheClosedJUnitTest.java @@ -34,7 +34,7 @@ import com.gemstone.gemfire.cache.query.RegionNotFoundException; import com.gemstone.gemfire.cache.query.SelectResults; import com.gemstone.gemfire.cache.query.data.PortfolioData; import com.gemstone.gemfire.internal.cache.PartitionedRegionTestHelper; -import com.gemstone.gemfire.test.dunit.Threads; +import com.gemstone.gemfire.test.dunit.ThreadUtils; import com.gemstone.gemfire.test.junit.categories.IntegrationTest; /** @@ -222,8 +222,8 @@ public class PRQueryCacheClosedJUnitTest logger .info("PRQueryCacheClosedJUnitTest#testQueryOnSingleDataStoreWithCacheClose: Waiting for the Threads to join "); - Threads.join(t1, 30 * 1000, null); - Threads.join(t2, 30 * 1000, null); + ThreadUtils.join(t1, 30 * 1000); + ThreadUtils.join(t2, 30 * 1000); logger .info("PRQueryCacheClosedJUnitTest#testQueryOnSingleDataStoreWithCacheClose: checking for any Unexpected Exception's occured");
