From: aaron-congo (@aaron-congo) <noreply+aaron-congo@github.com>
To: aws/aws-advanced-jdbc-wrapper <noreply+aws-aws-advanced-jdbc-wrapper@github.com>
Subject: Re: [aws/aws-advanced-jdbc-wrapper] PR #2242: fix: B/G plugin stuck in POST after a completed switchover
Date: Mon, 16 Nov 2026 23:02:33 +0000
Message-ID: <gh-aws-aws-advanced-jdbc-wrapper-2242-rc4592891183@github.com> (raw)
In-Reply-To: <gh-aws-aws-advanced-jdbc-wrapper-2242@github.com>
References: <gh-aws-aws-advanced-jdbc-wrapper-2242@github.com>
(on wrapper/src/test/java/software/amazon/jdbc/plugin/bluegreen/BlueGreenStatusProviderTest.java:694)
nit: should we consider adding the following tests?
- a test that covers the new COMPLETED branch in `checkSwitchoverTimerExpiry()`
- a test for a switchover observed from PREPARATION that stalls in IN_PROGRESS with an unchanged status. That's the case the timer originally existed for, and it now ends in `resetContext()` instead of keeping the forced COMPLETED status.