Skip to content
Snippets Groups Projects
Commit e9ffa83d authored by Grzegorz Brzeziński's avatar Grzegorz Brzeziński
Browse files

test: fix pmempool_check test

parent 398dc822
No related branches found
No related tags found
No related merge requests found
#
# Copyright 2016-2018, Intel Corporation
# Copyright 2016-2019, Intel Corporation
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
......@@ -63,6 +63,12 @@ $file.LastWriteTime=$past
expect_abnormal_exit $PMEMPOOL check -v $POOLSET >> $LOG
expect_abnormal_exit $PMEMPOOL check -vry $POOLSET >> $LOG
# To achieve different checksum, file creation time and file modification time,
# have to be different. The precision of file modification time equals 1 second
# on Windows OS. File modification time is updated during execution
# 'pmempool check' command. That is why the test waits for 1 second.
Start-Sleep -s 1
expect_normal_exit $PMEMPOOL check -vrya $POOLSET >> $LOG
expect_normal_exit $PMEMPOOL info $POOLSET >> $null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment