Commit 889b597
committed
PMM-T2159 Fix RTA tests in post-client-upgrade step
The upgrade playbook provisions psmdb with SETUP_TYPE=sharding plus a
separate ssl_psmdb (diffauth) deployment. The diffauth deployment
registers plainly named rs101/rs102 services (no _<random> suffix, and
duplicated across auth methods), so getServiceDetailsByPartialName('rs101')
picked those up instead of the pbm replica-set member on 127.0.0.1:27027
that mongoDbHelper actually drives. That broke the exact-title inventory
locator (strict-mode: 2 rows titled "rs101") and the host-name split('_')
assertions, and left the CSV export monitoring the wrong mongod.
Anchor the RTA service lookups to '^rs101_' / '^rs102_' so they select the
pbm member service in every RTA environment (pss, sharded, and gssapi
'rs101_gssapi_<random>' naming) while excluding the bare diffauth service.
Also pass PMM_SERVER_LATEST to the Post-client-upgrade UI tests step; it
runs @post-upgrade (upgradePMM.test.ts) which requires that env var, the
same way the Post-server-upgrade step already sets it.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jfa9TRv3eUmizp4AyqNHDr1 parent 9e086ee commit 889b597
8 files changed
Lines changed: 11 additions & 9 deletions
File tree
- .github/workflows
- e2e_tests/tests
- inventory
- qan/rta
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
275 | 277 | | |
276 | 278 | | |
277 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments