Skip to content

Commit 5290616

Browse files
author
tmiddleton
committed
COH-21815 - Investigate Failing Tcmp Tests - Make tests more specific (14.1.1.0 -> ce-14.1.1.0 @81363)
[git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v14.1.1.0/": change = 81364]
1 parent 90a33dd commit 5290616

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

prj/test/functional/tcmp/src/test/java/tcmp/MessageBusTestTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import com.oracle.bedrock.runtime.LocalPlatform;
1515

1616
import com.oracle.coherence.common.net.exabus.util.MessageBusTest;
17-
import org.hamcrest.Matchers;
17+
1818
import org.junit.Before;
1919
import org.junit.Ignore;
2020
import org.junit.Test;
@@ -439,8 +439,8 @@ protected void twoMembersTest(String[] asArg1, String[] asArg2, long cMillis)
439439
Eventually.assertThat(invoking(console1).getCapturedOutputLines(), hasItem(containsString("connections 1, errors 0")),
440440
delayedBy(cMillis, TimeUnit.MILLISECONDS));
441441
Eventually.assertThat(invoking(console2).getCapturedOutputLines(), hasItem(containsString("connections 1, errors 0")));
442-
assertThat(console1.getCapturedErrorLines(), everyItem(not(containsString("WARNING:"))));
443-
assertThat(console2.getCapturedErrorLines(), everyItem(not(containsString("WARNING:"))));
442+
assertThat(console1.getCapturedErrorLines(), everyItem(not(containsString("WARNING: polling collector"))));
443+
assertThat(console2.getCapturedErrorLines(), everyItem(not(containsString("WARNING: polling collector"))));
444444

445445
output1.addAll(console1.getCapturedOutputLines());
446446
output1.addAll(console1.getCapturedErrorLines());

0 commit comments

Comments
 (0)