Skip to content

Commit

Permalink
print all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
driftx committed Mar 13, 2024
1 parent 6a9f189 commit b264a28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configuration_test.py
Expand Up @@ -93,6 +93,7 @@ def new_commitlog_cluster_node():
durable_session.execute('CREATE TABLE ks.tab (key int PRIMARY KEY, a int, b int, c int)')
logger.debug('commitlog size diff = ' + str(commitlog_size(durable_node) - durable_init_size))
write_to_trigger_fsync(durable_session, 'ks', 'tab')
logger.debug('commitlog size diff = ' + str(commitlog_size(durable_node) - durable_init_size))

assert commitlog_size(durable_node) > durable_init_size, \
"This test will not work in this environment; write_to_trigger_fsync does not trigger fsync."
Expand Down Expand Up @@ -204,4 +205,5 @@ def commitlog_size(node):
total += entry.stat().st_size
elif entry.is_dir():
total += get_dir_size(entry.path)
logger.debug("added {}, {}".format(entry, entry.stat()))
return total

0 comments on commit b264a28

Please sign in to comment.