Skip to content

Commit

Permalink
DAOS-16768 test: DO NOT LAND
Browse files Browse the repository at this point in the history
Test run of test_engine_restart with a delay between engines start
and pool list command (and its internal pool queries).

Skip-unit-tests: true
Skip-fault-injection-test: true
Test-tag: test_engine_restart

Test-repeat: 20

Signed-off-by: Kenneth Cain <[email protected]>
  • Loading branch information
kccain committed Jan 30, 2025
1 parent 1ee84b9 commit bb893ae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/tests/ftest/launch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env python3
"""
(C) Copyright 2018-2024 Intel Corporation.
(C) Copyright 2025 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent
"""
Expand Down Expand Up @@ -32,7 +33,7 @@
from util.yaml_utils import YamlException

DEFAULT_LOGS_THRESHOLD = "2150M" # 2.1G
MAX_CI_REPETITIONS = 10
MAX_CI_REPETITIONS = 20


class LaunchError(Exception):
Expand Down
7 changes: 6 additions & 1 deletion src/tests/ftest/server/daos_server_restart.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
"""
(C) Copyright 2020-2022 Intel Corporation.
(C) Copyright 2025 Hewlett Packard Enterprise Development LP
SPDX-License-Identifier: BSD-2-Clause-Patent
"""
import time

from apricot import TestWithServers
from avocado import fail_on
from exception_utils import CommandFailure
Expand Down Expand Up @@ -148,7 +151,9 @@ def test_engine_restart(self):
self.restart_engine()
self.log.info("(3) Force shutdown and restart the daos engine.")
self.restart_engine()
self.log.info("(4) Verify pool list after forced shutdown and restart the daos engine.")
self.log.info("(4) Verify pool list after forced shutdown and restart the daos engine, and "
"a small delay.")
time.sleep(10)
self.verify_pool_list(pool_list)
hosts = self.hostlist_servers
self.hostlist_servers = hosts[-1]
Expand Down

0 comments on commit bb893ae

Please sign in to comment.