THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
To run the same tests in order, you can add a suite to your JUnit test
Code Block |
---|
public static Test suite() {
final TestSuite suite = new TestSuite();
suite.addTestSuite(PartitionedRegionBucketCreationDistributionDUnitTest.class);
suite.addTestSuite(PartitionedRegionTestUtilsDUnitTest.class);
//Use the JUnit4TestAdapter one of your test has been converted to Junit4 syntax.
suite.addTest(new JUnit4TestAdapter(DistTXDebugDUnitTest.class));
return suite;
} |
...
Code Block |
---|
if (logger.isTraceEnabled(LogMarker.TOMBSTONE)) { logger.trace(LogMarker.TOMBSTONE, "Destroyed entries sweeper starting with default sleep interval={}", this.expiryTime); } |
This will not be displayed in a debug level log. To specify a customized log4j2.xml, let's say log4me.xml:
Code Block |
---|
./gradlew --no-daemon geode-${section}:distributedTest -Dlog4j.configurationFile=c:\\cygwin64\\home\\zhouxh\\log4me.xml -DdistributedTest.single=$case |
there are also several ways, but the easiest one is to copy your log4j2.xml into open/gemfire-core/src/main/resources/log4j2.xml. Here is an example of log4j2log4me.xml that turns on LogMarker.TOMBSTONE, LogMarker.DISTRIBUTION, LogMarker.DISK_STORE_MONITOR:
...