Merge pull request #7157 from sfc-gh-vgasiunas/vgasiunas-fix-upgrade-test

Restoring checks after each step in upgrade test
This commit is contained in:
Vaidas Gasiunas 2022-05-16 09:12:22 +02:00 committed by GitHub
commit 194d5d99e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -338,7 +338,7 @@ endif()
COMMAND ${CMAKE_SOURCE_DIR}/tests/TestRunner/upgrade_test.py
--build-dir ${CMAKE_BINARY_DIR}
--test-file ${CMAKE_SOURCE_DIR}/bindings/c/test/apitester/tests/upgrade/MixedApiWorkloadMultiThr.toml
--upgrade-path "7.1.3" "7.2.0" "7.1.3"
--upgrade-path "7.1.3" "7.2.0"
--process-number 3
)

View File

@ -468,8 +468,8 @@ class UpgradeTest:
else:
assert entry in self.used_versions, "Unexpected entry in the upgrade path: {}".format(entry)
self.upgrade_to(entry)
self.health_check()
self.progress_check()
self.health_check()
self.progress_check()
os.write(self.ctrl_pipe, b"STOP\n")
finally:
os.close(self.ctrl_pipe)