Skip to content

Development: Fix flaky communication module test cases #64272

Development: Fix flaky communication module test cases

Development: Fix flaky communication module test cases #64272

GitHub Actions / Junit Results failed Jan 18, 2025 in 0s

Junit Results

Junit Results ran 8317 in 1175.6329999999994 seconds 0 Errored, 1 Failed, 1 Skipped

Annotations

Check failure on line 0 in test

See this annotation in the file changed.

@github-actions github-actions / Junit Results

test#L0

Junit Results ran 8317 in 1175.6329999999994 seconds 0 Errored, 1 Failed, 1 Skipped

Check failure on line 696 in /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/MessageIntegrationTest.java

See this annotation in the file changed.

@github-actions github-actions / Junit Results

testDecreaseUnreadMessageCountWhenDeletingMessage()

Junit test testDecreaseUnreadMessageCountWhenDeletingMessage() failed org.opentest4j.AssertionFailedError: 
expected: 0L
 but was: 1L
Raw output
org.opentest4j.AssertionFailedError: 
expected: 0L
 but was: 1L
	at app//de.tum.cit.aet.artemis.communication.MessageIntegrationTest.lambda$testDecreaseUnreadMessageCountWhenDeletingMessage$28(MessageIntegrationTest.java:726)
	at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
	at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
	at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at [email protected]/java.lang.Thread.run(Thread.java:1583)