Skip to content

Commit

Permalink
Improve buffering test
Browse files Browse the repository at this point in the history
  • Loading branch information
tbidne committed Mar 14, 2024
1 parent 6880e5b commit 4a61460
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/functional/Functional/Buffering.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ logsNoBuffer =
-- literally i.e. {0..3}. The manual listing of indices appears to work,
-- however
args =
[ "--cmd-log",
"--cmd-log-strip-control=all",
"--cmd-name-trunc=15",
"--no-config",
"for i in 0 1 2 3; do echo \"$i\"; sleep 1.5; done"
]
withNoConfig
[ "--cmd-log",
"--cmd-log-strip-control=all",
"--cmd-name-trunc=15",
"for i in 0 1 2 3; do echo \"$i\"; sleep 1.5; done"
]

-- To test that the logs are correctly streamed, we check that actual
-- order of logs against the timing logs. This is a bit hacky, but the
Expand Down

0 comments on commit 4a61460

Please sign in to comment.