Add extra sleep before capturing output since I think it may be the cause of test failures on macos on actions

This commit is contained in:
David Dworken 2022-11-04 19:56:22 -07:00
parent ebb6b36b34
commit cfd1c9e7a7
No known key found for this signature in database

View File

@ -1880,6 +1880,7 @@ func captureTerminalOutputWithShellNameAndDimensions(t *testing.T, tester shellT
fullCommand += "\n"
fullCommand += " sleep " + sleepAmount + "\n"
}
fullCommand += " sleep 0.5\n"
fullCommand += " tmux capture-pane -p\n"
fullCommand += " tmux kill-session -t foo\n"
hctx.GetLogger().Printf("Running tmux command: " + fullCommand)