Skip to content

Commit d106cde

Browse files
cuppettclaude
andcommitted
Fix ReplicaSet unit test label to match updated test data
Update test_replica_set_build() to use 'backend-rs' label instead of 'backend', matching the label change made to prevent resource adoption conflicts with DeploymentTest. This completes the label isolation work - the unit test was setting the label to 'backend' but asserting it should be 'backend-rs'. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 1a9701f commit d106cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ReplicaSetTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public function test_replica_set_build()
2020

2121
$rs = $this->cluster->replicaSet()
2222
->setName('mariadb-rs')
23-
->setLabels(['tier' => 'backend'])
23+
->setLabels(['tier' => 'backend-rs'])
2424
->setAnnotations(['mariadb/annotation' => 'yes'])
2525
->setReplicas(3)
2626
->setTemplate($pod);

0 commit comments

Comments
 (0)