Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,10 @@ private void verifyAppendRequests(long appendCount) {
// First request received by server should have schema and stream name.
assertTrue(serverRequest.getProtoRows().hasWriterSchema());
assertEquals(TEST_STREAM_1, serverRequest.getWriteStream());
assertEquals("java-streamwriter " + TEST_TRACE_ID, serverRequest.getTraceId());
// The trace ID would look like "java-streamwriter:3.23.0 DATAFLOW:job_id" if
// StreamWriter.getFullTraceId contains the version (non SNAPSHOT version);
// otherwise it's "java-streamwriter DATAFLOW:job_id".
assertThat(serverRequest.getTraceId()).matches("java-streamwriter(:.+)? " + TEST_TRACE_ID);
} else {
// Following request should not have schema and stream name.
assertFalse(serverRequest.getProtoRows().hasWriterSchema());
Expand Down
Loading