Skip to content

test(it): assert route_target effective backend on the live 4.5 lane - #92

Merged
lance0 merged 1 commit into
masterfrom
test/live-rt-graphql-assertion
Jun 25, 2026
Merged

lance0 merged 1 commit into
masterfrom
test/live-rt-graphql-assertion

Conversation

@lance0

@lance0 lance0 commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Quick follow-up to #91. The live graphql_backend_status_and_vrf_detail_work test asserted the vrf and search effective backends but not route_target. Now that the RT GraphQL surface is hardened (#91), add the symmetric assertions:

assert_eq!(v["api"]["route_target"]["configured"], "graphql", ...);
assert_eq!(v["api"]["route_target"]["effective"],  "graphql", ...);

so a regression in route-target backend selection is caught against the real NetBox 4.5 GraphQL schema.

This can only be validated by the live NetBox 4.5 GraphQL backend lane (the test is #[ignore]'d and needs the seeded fixture) — that lane passing is the proof the live 4.5 schema resolves the RT surface to GraphQL.

… lane

The live graphql_backend test asserted vrf + search effective backends but not
route_target. Now that the RT GraphQL surface is hardened (#91), round out the
live 4.5 coverage so a regression in route_target backend selection is caught.
@lance0
lance0 merged commit 2b503a0 into master Jun 25, 2026
15 checks passed
@lance0
lance0 deleted the test/live-rt-graphql-assertion branch June 25, 2026 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant