mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 14:13:26 +00:00
test-history.sh: Fix flakiness by moving sleep
The history test fails sometimes in the CI due to the remote add operation being missing from the history command's output: + diff history-log - 0a1 > add remote system (history-installation) test-repo Presumably this is due to that operation happening in the same second that is passed to --since, so move the sleep statement to make sure a second passes before we do anything.
This commit is contained in:
parent
0a4491aed7
commit
6c57af648b
@ -13,8 +13,8 @@ skip_revokefs_without_fuse
|
||||
|
||||
echo "1..1"
|
||||
|
||||
sleep 1
|
||||
HISTORY_START_TIME=$(date +"%Y-%m-%d %H:%M:%S")
|
||||
sleep 1
|
||||
|
||||
mkdir -p ${TEST_DATA_DIR}/system-history-installation
|
||||
mkdir -p ${FLATPAK_CONFIG_DIR}/installations.d
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user