Skip to content

Commit 3eda2e3

Browse files
authored
fix: give logs a second to flush (#660)
1 parent 2e81098 commit 3eda2e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

airbyte/_connector_base.py

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import abc
77
import json
88
from pathlib import Path
9+
from time import sleep
910
from typing import TYPE_CHECKING, Any, Literal
1011

1112
import jsonschema
@@ -324,6 +325,8 @@ def check(self) -> None:
324325
name=self.name,
325326
state=EventState.FAILED,
326327
)
328+
# Give logs a chance to be flushed.
329+
sleep(1)
327330
raise exc.AirbyteConnectorCheckFailedError(
328331
connector_name=self.name,
329332
help_url=self.docs_url,

0 commit comments

Comments
 (0)