File tree Expand file tree Collapse file tree
java-trace/google-cloud-trace/src/test/java/com/google/cloud/trace/v1/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public static void afterTest() {
8181
8282 @ Test
8383 public void getTraceTest () throws InterruptedException {
84- Thread .sleep (5000 );
84+ Thread .sleep (30000 );
8585 GetTraceRequest request =
8686 GetTraceRequest .newBuilder ().setProjectId (PROJECT_ID ).setTraceId (TRACE_ID ).build ();
8787 Trace trace = client .getTrace (request );
@@ -94,7 +94,7 @@ public void getTraceTest() throws InterruptedException {
9494
9595 @ Test
9696 public void listTracesTest () throws InterruptedException {
97- Thread .sleep (5000 );
97+ Thread .sleep (30000 );
9898 ListTracesRequest request = ListTracesRequest .newBuilder ().setProjectId (PROJECT_ID ).build ();
9999 TraceServiceClient .ListTracesPagedResponse trace = client .listTraces (request );
100100 assertNotNull (trace );
You can’t perform that action at this time.
0 commit comments