talos/internal/integration/api
Andrey Smirnov 6fb55229a2 test: fix and improve reboot/reset tests
These tests rely on node uptime checks. These checks are quite flaky.

Following fixes were applied:

* code was refactored as common method shared between reset/reboot tests
(reboot all nodes does checks in a different way, so it wasn't updated)

* each request to read uptime times out in 5 seconds, so that checks
don't wait forever when node is down (or connection is aborted)

* to account for node availability vs. lower uptime in the beginning of
test, add extra elapsed time to the check condition

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-06-29 13:56:48 -07:00
..
api.go test: add integration test framework 2019-11-05 17:21:38 +03:00
dmesg.go refactor: move Talos client package to pkg/ 2020-04-01 23:45:58 +03:00
logs.go feat: implement circular buffer for system logs 2020-06-26 15:33:54 -07:00
reboot.go test: fix and improve reboot/reset tests 2020-06-29 13:56:48 -07:00
recover.go feat: add recovery API 2020-05-04 19:38:30 -07:00
reset.go test: fix and improve reboot/reset tests 2020-06-29 13:56:48 -07:00
version.go refactor: move Talos client package to pkg/ 2020-04-01 23:45:58 +03:00