Skip to content

Commit 7a408ca

Browse files
authored
test: clarify pass criteria for b/g test (#1507)
1 parent ddc63f5 commit 7a408ca

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

wrapper/src/test/java/integration/container/tests/BlueGreenDeploymentTests.java

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,25 @@ public static class BlueGreenResults {
172172
private final ConcurrentHashMap<String, BlueGreenResults> results = new ConcurrentHashMap<>();
173173
private final ConcurrentLinkedDeque<Throwable> unhandledExceptions = new ConcurrentLinkedDeque<>();
174174

175+
/**
176+
* NOTE: this test requires manual verification to fully verify proper B/G behavior.
177+
* PASS criteria:
178+
* - automatic check: test passes
179+
* - manual check: test logs contain the switchover final summary table with the following events and similar time
180+
* offset values:
181+
* ----------------------------------------------------------------------------
182+
* timestamp time offset (ms) event
183+
* ----------------------------------------------------------------------------
184+
* 2025-04-10T01:30:08.865783Z -41746 ms NOT_CREATED
185+
* 2025-04-10T01:30:09.101513Z -41510 ms CREATED
186+
* 2025-04-10T01:30:49.779680Z -829 ms PREPARATION
187+
* 2025-04-10T01:30:50.609146Z 0 ms IN_PROGRESS
188+
* 2025-04-10T01:30:52.440775Z 1831 ms POST
189+
* 2025-04-10T01:31:03.373311Z 12764 ms Blue DNS updated
190+
* 2025-04-10T01:32:07.738613Z 77131 ms Green DNS removed
191+
* 2025-04-10T01:32:19.221286Z 88616 ms COMPLETED
192+
* ----------------------------------------------------------------------------
193+
*/
175194
@TestTemplate
176195
@ExtendWith(TestDriverProvider.class)
177196
public void testSwitchover(TestDriver testDriver) throws SQLException, InterruptedException {

0 commit comments

Comments
 (0)