You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by dc...@apache.org on 2021/07/02 18:33:29 UTC

[cassandra-dtest] branch trunk updated: BinLog does not close chronicle queue leaving this to GC to cleanup

This is an automated email from the ASF dual-hosted git repository.

dcapwell pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-dtest.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 2fddec7  BinLog does not close chronicle queue leaving this to GC to cleanup
2fddec7 is described below

commit 2fddec7e516a8a2dbfbd2ad51837116556116ee6
Author: David Capwell <David Capwell>
AuthorDate: Fri Jul 2 10:38:29 2021 -0700

    BinLog does not close chronicle queue leaving this to GC to cleanup
    
    patch by David Capwell; reviewed by Caleb Rackliffe, Marcus Eriksson for CASSANDRA-16774
---
 auditlog_test.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/auditlog_test.py b/auditlog_test.py
index c7a6d66..f44a05d 100644
--- a/auditlog_test.py
+++ b/auditlog_test.py
@@ -48,8 +48,8 @@ class TestAuditlog(Tester):
         node.nodetool("disablefullquerylog")
         for f in os.listdir(log_dir):
             assert not f.endswith(".cq4")
-        # make sure the non-rolled file gets archived when we disable fql
-        node.watch_log_for("Archiving existing file", filename="debug.log")
+        # make sure there are not non-rolled files
+        assert not node.grep_log("Archiving existing file", filename="debug.log")
 
     def test_archiving_fql(self):
         cluster = self.cluster
@@ -68,8 +68,8 @@ class TestAuditlog(Tester):
         node.nodetool("disablefullquerylog")
         for f in os.listdir(log_dir):
             assert not f.endswith(".cq4")
-        # make sure the non-rolled file gets archived when we disable fql
-        node.watch_log_for("Archiving existing file", filename="debug.log")
+        # make sure there are not non-rolled files
+        assert not node.grep_log("Archiving existing file", filename="debug.log")
 
     def test_archive_on_startup(self):
         cluster = self.cluster

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org