cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzn...@apache.org
Subject [30/50] cassandra-dtest git commit: Add a sleep after compaction to give it time before checking SSTable directory for files (CASSANDRA-13182)
Date Thu, 13 Jul 2017 00:15:41 GMT
Add a sleep after compaction to give it time before checking SSTable directory for files (CASSANDRA-13182)


Project: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/commit/538d658e
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/tree/538d658e
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/diff/538d658e

Branch: refs/heads/master
Commit: 538d658e0fb6b067ffeedd250c5997e2e77ad735
Parents: f148942
Author: Lerh Chuan Low <lerh@instaclustr.com>
Authored: Tue May 16 16:09:32 2017 +1000
Committer: Philip Thompson <ptnapoleon@gmail.com>
Committed: Tue May 16 09:55:20 2017 -0400

----------------------------------------------------------------------
 sstableutil_test.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/538d658e/sstableutil_test.py
----------------------------------------------------------------------
diff --git a/sstableutil_test.py b/sstableutil_test.py
index a8f4487..0886a26 100644
--- a/sstableutil_test.py
+++ b/sstableutil_test.py
@@ -1,6 +1,7 @@
 import glob
 import os
 import subprocess
+import time
 
 from ccmlib import common
 from ccmlib.node import ToolError
@@ -40,6 +41,7 @@ class SSTableUtilTest(Tester):
         self.assertEqual(0, len(tmpfiles))
 
         node.compact()
+        time.sleep(5)
         finalfiles, tmpfiles = self._check_files(node, KeyspaceName, TableName)
         self.assertEqual(0, len(tmpfiles))
 


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


Mime
View raw message