File tree 1 file changed +4
-1
lines changed
dd-smoke-tests/crashtracking/src/test/java/datadog/smoketest
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 37
37
* that ships with OS X by default.
38
38
*/
39
39
public class CrashtrackingSmokeTest {
40
- private static final long DATA_TIMEOUT_MS = 10 * 1000 ;
40
+ private static final long DATA_TIMEOUT_MS = 25 * 1000 ;
41
41
private static Path LOG_FILE_DIR ;
42
42
private MockWebServer tracingServer ;
43
43
private TestUDPServer udpServer ;
@@ -232,6 +232,7 @@ void testOomeTracking() throws Exception {
232
232
outputThreads .captureOutput (
233
233
p , LOG_FILE_DIR .resolve ("testProcess.testOomeTracking.log" ).toFile ());
234
234
pb .environment ().put ("DD_DOGSTATSD_PORT" , String .valueOf (udpServer .getPort ()));
235
+ System .out .println ("Set port to: " + pb .environment ().get ("DD_DOGSTATSD_PORT" ));
235
236
236
237
assertNotEquals (0 , p .waitFor (), "Application should have crashed" );
237
238
assertOOMEvent ();
@@ -263,6 +264,8 @@ void testCombineTracking() throws Exception {
263
264
pb .environment ().put ("DD_TRACE_AGENT_PORT" , String .valueOf (tracingServer .getPort ()));
264
265
pb .environment ().put ("DD_DOGSTATSD_PORT" , String .valueOf (udpServer .getPort ()));
265
266
267
+ System .out .println ("Set port to: " + pb .environment ().get ("DD_DOGSTATSD_PORT" ));
268
+
266
269
Process p = pb .start ();
267
270
outputThreads .captureOutput (
268
271
p , LOG_FILE_DIR .resolve ("testProcess.testCombineTracking.log" ).toFile ());
You can’t perform that action at this time.
0 commit comments