You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Introduced a new `OrphanedThreadInfo` data class to encapsulate thread information to avoid data races when getting thread-specific information (like stacktrace, or threadLocal values)
- Updated thread filtering and logging to use `OrphanedThreadInfo`
- Enhanced logging for timeout tasks in `LoggingInvocationInterceptor`
- fixed race condition in `AirbyteTraceMessageUtilityTest`
- improved test logging to add the running tests for the destination containers
- Modified `TestContext` to use a default value for `CURRENT_TEST_NAME`
Copy file name to clipboardExpand all lines: airbyte-cdk/java/airbyte-cdk/core/src/test/kotlin/io/airbyte/cdk/integrations/base/AirbyteTraceMessageUtilityTest.kt
+12-2
Original file line number
Diff line number
Diff line change
@@ -48,8 +48,18 @@ class AirbyteTraceMessageUtilityTest {
48
48
Mockito.mock(RuntimeException::class.java),
49
49
"this is a config error"
50
50
)
51
-
val outJson =Jsons.deserialize(outContent.toString(StandardCharsets.UTF_8))
52
-
assertJsonNodeIsTraceMessage(outJson)
51
+
val outCt = outContent.toString(StandardCharsets.UTF_8)
52
+
var outJson:JsonNode?=null
53
+
// because we are running tests in parallel, it's possible that another test is writing to
54
+
// stdout while we run this test, in which case we'd see their messages.
55
+
// we filter through the messages to find an error (hopefully hours)
Copy file name to clipboardExpand all lines: airbyte-cdk/java/airbyte-cdk/core/src/test/kotlin/io/airbyte/cdk/integrations/base/IntegrationRunnerTest.kt
Copy file name to clipboardExpand all lines: airbyte-cdk/java/airbyte-cdk/core/src/testFixtures/kotlin/io/airbyte/cdk/extensions/LoggingInvocationInterceptor.kt
Copy file name to clipboardExpand all lines: airbyte-cdk/java/airbyte-cdk/dependencies/src/testFixtures/kotlin/io/airbyte/workers/internal/DefaultAirbyteDestination.kt
0 commit comments