diff --git a/test/testlogs.py b/test/testlogs.py index 8ea09e58e..4310b92c3 100644 --- a/test/testlogs.py +++ b/test/testlogs.py @@ -180,6 +180,8 @@ class TestBuildLogs(RedisBuildLogs): def get_log_entries(self, build_id, start_index): if build_id == self.test_build_id: return (len(self._logs), self._logs[start_index:]) + elif not self.allow_delegate: + return None else: return super(TestBuildLogs, self).get_log_entries(build_id, start_index)