Commit graph

70 commits

Author SHA1 Message Date
Alexander A. Klimov
f843b06288 Do x.UnixMilli(), not utils.UnixMilli(x)
and remove redundant utils.UnixMilli().
2022-04-14 12:59:37 +02:00
Eric Lippmann
062dd95baf Add tests for cleanup and history retention 2022-03-22 16:07:54 +01:00
Julian Brost
02fd728579 Port integration tests to PostgreSQL 2022-03-15 15:17:19 +01:00
Julian Brost
9b3e52913e Remove parallelism from history test
This is done to prevent intermittent test failures caused by another sub-test
still running that submits check results while the state history stream is
checked for consistency.
2022-03-09 16:59:58 +01:00
Julian Brost
c9e3596386 Bump icinga-testing version 2022-03-09 16:51:38 +01:00
Julian Brost
a9ecdea92d Integration tests: test downtime expiry history 2021-12-08 12:46:40 +01:00
Julian Brost
51d8836ee5 Integration tests: text comment expiry history 2021-12-08 12:46:40 +01:00
Julian Brost
731849371c Integration tests: test comment removal history 2021-12-07 10:31:24 +01:00
Julian Brost
de7b16cf22 Integration tests: add author/removed_by to downtime cancellations
This is implicitly checked in the history consistency tests in HA setups.
2021-12-03 10:56:48 +01:00
Julian Brost
02a36ad8b5 Integration tests: test that both icinga2 instances write identical history streams
refs https://github.com/Icinga/icinga2/issues/9101
2021-12-03 10:56:48 +01:00
Noah Hilverling
40c3c29af2 Integration tests: Add notifications and improve user runtime updates 2021-11-12 18:49:43 +01:00
Julian Brost
42f8390b21 Integration tests: test history sync with HA 2021-11-12 14:37:02 +01:00
Julian Brost
66dfe7d73e Add a regression test that ensures that runtime updates are executed in order 2021-11-12 12:39:24 +01:00
Julian Brost
aedfa8aeba No longer skip environment tests and adapt them to new behavior 2021-11-03 15:47:38 +01:00
Eric Lippmann
87832d43bd Enable tests for custom var flat runtime sync 2021-10-26 09:31:41 +02:00
Julian Brost
e3ebf15f53 History sync: add benchmark 2021-10-05 18:35:02 +02:00
Julian Brost
7c782e3eb8 History sync: use information from notification stream for user_notification_history table 2021-10-05 18:35:02 +02:00
Julian Brost
fccf76775c History sync: add integration tests 2021-10-04 14:44:50 +02:00
Julian Brost
47bc17f7d8
Update icinga-testing and use new features (#362)
The new version deploys its own ApiUser so there is no more need to do this
here and also waits for reloads to finish, so no more need for some sleeps.
2021-09-09 13:52:45 +02:00
Julian Brost
2f3e4ae93b Start adding integration tests 2021-09-02 10:15:21 +02:00