From 3cfd58313f40c5fa881028632d7685e509373ce5 Mon Sep 17 00:00:00 2001 From: Mikhail Shchatko Date: Thu, 23 Sep 2021 15:09:45 +0300 Subject: SERVER-60169 Remove change stream documents check in background hook --- buildscripts/resmokelib/testing/hooks/change_streams.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'buildscripts') diff --git a/buildscripts/resmokelib/testing/hooks/change_streams.py b/buildscripts/resmokelib/testing/hooks/change_streams.py index cd39516dc6e..21a0a2a3c2f 100644 --- a/buildscripts/resmokelib/testing/hooks/change_streams.py +++ b/buildscripts/resmokelib/testing/hooks/change_streams.py @@ -37,10 +37,6 @@ class RunChangeStreamsInBackground(interface.Hook): """Stop the background thread.""" if self._change_streams_thread is not None: self._stop_background_thread() - if self._full_suite_changes_num == 0: - teardown_flag.set() - raise Exception( - "No change stream documents were observed during the background hook run.") def before_test(self, test, test_report): """Start the background thread if it is not already started.""" -- cgit v1.2.1