File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
smoke-tests/src/test/java/com/example/javaagent/smoketest Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1717 "ignorePaths" : [
1818 " .github/**" ,
1919 " .buildkite/**" ,
20+ " examples/**" ,
2021 " jvmti-access/jni-build/*.Dockerfile"
2122 ]
2223}
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ public static void end() {
5454 @ AfterEach
5555 public void endTest () throws InterruptedException {
5656 doRequest (getUrl ("/dynamicconfig/reset" ), okResponseBody ("reset" ));
57- Thread .sleep (500L ); // give the reset time to be applied
57+ Thread .sleep (1500L ); // give the reset time to be applied
5858 }
5959
6060 @ Test
@@ -68,14 +68,14 @@ public void flipSending() throws InterruptedException {
6868 .containsOnly ("GET /dynamicconfig/flipSending" , "DynamicConfigController.flipSending" );
6969 ByteString firstTraceID = spans .get (0 ).getTraceId ();
7070
71- Thread .sleep (1000L ); // give the flip time to be applied
71+ Thread .sleep (2000L ); // give the flip time to be applied
7272
7373 doRequest (getUrl ("/dynamicconfig/flipSending" ), okResponseBody ("restarted" ));
7474 traces = waitForTraces ();
7575 spans = getSpans (traces ).dropWhile (span -> span .getTraceId ().equals (firstTraceID )).toList ();
7676 assertThat (spans ).hasSize (0 );
7777
78- Thread .sleep (1000L ); // give the flip time to be applied
78+ Thread .sleep (2000L ); // give the flip time to be applied
7979
8080 doRequest (getUrl ("/dynamicconfig/flipSending" ), okResponseBody ("stopped" ));
8181 traces = waitForTraces ();
You can’t perform that action at this time.
0 commit comments