Skip to content

Commit 735c0fa

Browse files
Ashish AggarwalAshish Aggarwal
authored andcommitted
update integration test
1 parent e910614 commit 735c0fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

integrations/opencensus/src/test/scala/com/www/expedia/opencensus/exporter/trace/HaystackExporterIntegrationSpec.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ class HaystackExporterIntegrationSpec extends FunSpec with GivenWhenThen with Ma
8989
generateTrace(tracer)
9090

9191
// wait for few sec to let the span reach kafka
92-
Thread.sleep(10000)
92+
Thread.sleep(5000)
93+
94+
// create another trace
95+
generateTrace(tracer)
96+
Thread.sleep(5000)
9397

9498
val records = consumer.poll(2000)
9599
records.count > 1 shouldBe true

0 commit comments

Comments
 (0)