Skip to content

Commit

Permalink
test: mark flaky tests with flaky tag (#5278)
Browse files Browse the repository at this point in the history
- testSendEvent
- delayedActionIsTriggeredTest
  • Loading branch information
jdrueckert authored Sep 29, 2024
1 parent 9229926 commit d2810e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public void testRunWhileTimeout() {
}

@Test
@Tag("flaky")
public void testSendEvent() throws IOException {
Context clientContext = helper.createClient();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import com.google.common.collect.Lists;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -36,6 +37,7 @@ public class DelayManagerTest {
Time time;

@Test
@Tag("flaky")
public void delayedActionIsTriggeredTest(ModuleTestingHelper helper) throws IOException {
helper.createClient();
helper.runWhile(() -> Lists.newArrayList(entityManager.getEntitiesWith(ClientComponent.class)).isEmpty());
Expand Down

0 comments on commit d2810e6

Please sign in to comment.