Open tomuben opened 1 year ago
See comment (https://github.com/exasol/integration-test-docker-environment/pull/248#discussion_r969203368). Currently IsDatabaseReadyThread uses boolen variables which are written within the classes thread, but read in the outside thread. We should refactor it using a thread-safe mechanism, for example using https://docs.python.org/3/library/threading.html#event-objects.
finish
is_ready
Background
See comment (https://github.com/exasol/integration-test-docker-environment/pull/248#discussion_r969203368). Currently IsDatabaseReadyThread uses boolen variables which are written within the classes thread, but read in the outside thread. We should refactor it using a thread-safe mechanism, for example using https://docs.python.org/3/library/threading.html#event-objects.
Acceptance Criteria
finish
andis_ready
in class IsDatabaseReadyThread.