File tree 2 files changed +3
-1
lines changed
otel-extensions/src/main/java/org/hypertrace/agent/otel/extensions/config
smoke-tests/src/test/java/org/hypertrace/agent/smoketest 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ private HypertraceConfig() {}
54
54
55
55
static final String DEFAULT_SERVICE_NAME = "unknown" ;
56
56
static final String DEFAULT_REPORTING_ENDPOINT = "http://localhost:4317" ;
57
- static final String DEFAULT_OPA_ENDPOINT = "http://opa.traceableai :8181/" ;
57
+ static final String DEFAULT_OPA_ENDPOINT = "http://localhost :8181/" ;
58
58
static final int DEFAULT_OPA_POLL_PERIOD_SECONDS = 30 ;
59
59
// 128 KiB
60
60
static final int DEFAULT_BODY_MAX_SIZE_BYTES = 128 * 1024 ;
Original file line number Diff line number Diff line change 22
22
import io .opentelemetry .proto .trace .v1 .InstrumentationLibrarySpans ;
23
23
import io .opentelemetry .proto .trace .v1 .Span ;
24
24
import java .io .IOException ;
25
+ import java .time .Duration ;
25
26
import java .util .Collection ;
26
27
import java .util .concurrent .TimeUnit ;
27
28
import java .util .concurrent .atomic .AtomicLong ;
@@ -162,6 +163,7 @@ protected static Stream<InstrumentationLibrarySpans> getInstrumentationLibSpanSt
162
163
163
164
protected Collection <ExportTraceServiceRequest > waitForTraces (final int count ) {
164
165
return Awaitility .await ()
166
+ .atMost (Duration .ofSeconds (10 ))
165
167
.until (
166
168
this ::waitForTraces ,
167
169
exportTraceServiceRequests -> exportTraceServiceRequests .size () == count );
You canāt perform that action at this time.
0 commit comments