Skip to content

Commit

Permalink
Fix DebuggerSinkTest regex for RC (#7134)
Browse files Browse the repository at this point in the history
version of the tracer could also include RC<n> in the version
skipping this part to avoid failing tests
  • Loading branch information
jpbempel committed Jun 7, 2024
1 parent 34bb51d commit 9121e58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void setUp() {
when(config.getFinalDebuggerSymDBUrl()).thenReturn("http://localhost:8126/symdb/v1/input");

EXPECTED_SNAPSHOT_TAGS =
"^env:test,version:foo,debugger_version:\\d+\\.\\d+\\.\\d+(-SNAPSHOT)?~[0-9a-f]+,agent_version:null,host_name:"
"^env:test,version:foo,debugger_version:\\d+\\.\\d+\\.\\d+[^~]*~[0-9a-f]+,agent_version:null,host_name:"
+ config.getHostName()
+ "$";
probeStatusSink = new ProbeStatusSink(config, config.getFinalDebuggerSnapshotUrl(), false);
Expand Down

0 comments on commit 9121e58

Please sign in to comment.