Skip to content

Commit

Permalink
Add some debuging logic for concurrent_signals
Browse files Browse the repository at this point in the history
  • Loading branch information
rocallahan committed Dec 1, 2023
1 parent 7607fc5 commit c407b7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/log.cc
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ static void flush_log_stream() {
}
} else {
*log_file << s;
flush_log_file();
}

logging_stream->str(string());
Expand Down
2 changes: 2 additions & 0 deletions src/test/concurrent_signals.run
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ kill -TERM $pid
wait %1 || failed "Abnormal record termination"

echo "Replaying ..."
export RR_LOG_FILE=replay.log
export RR_LOG=all
replay
check 'EXIT-SUCCESS'

0 comments on commit c407b7c

Please sign in to comment.