Skip to content

Commit 61ec299

Browse files
stanley-cheungejona86
authored andcommitted
Remove sleep from Observability Interop Test binary now that its done in close() (#9977)
After #9972, the `sleep()` is done inside Observability `close()`, we can remove this `sleep()` in the Observability Interop test binary.
1 parent 9f26b7d commit 61ec299

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

gcp-observability/interop/src/main/java/io/grpc/gcp/observability/interop/TestServiceInterop.java

-6
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import io.grpc.testing.integration.TestServiceClient;
2121
import io.grpc.testing.integration.TestServiceServer;
2222
import java.util.Arrays;
23-
import java.util.concurrent.TimeUnit;
2423

2524
/**
2625
* Combined interop client and server for observability testing.
@@ -47,11 +46,6 @@ public static void main(String[] args) throws Exception {
4746
} else {
4847
TestServiceServer.main(args);
4948
}
50-
// TODO(stanleycheung): remove this once the observability exporter plugin is able to
51-
// gracefully flush observability data to cloud at shutdown
52-
final int o11yCloseSleepSeconds = 65;
53-
System.out.println("Sleeping " + o11yCloseSleepSeconds + " seconds before exiting");
54-
Thread.sleep(TimeUnit.MILLISECONDS.convert(o11yCloseSleepSeconds, TimeUnit.SECONDS));
5549
}
5650
}
5751

0 commit comments

Comments
 (0)