Skip to content

Commit ae457d2

Browse files
committed
Testing fix
1 parent 43cdcf0 commit ae457d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/JobTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public function runGetTests()
186186
$this->assertEquals('pi', $job->getName());
187187
$this->assertEquals(['tier' => 'backend'], $job->getLabels());
188188

189-
if ($this->cluster->olderThan('1.23.0')) {
189+
if ($this->cluster->olderThan('1.23.0') || $this->cluster->newerThan('1.24.0')) {
190190
$this->assertEquals(['perl/annotation' => 'yes'], $job->getAnnotations());
191191
} else {
192192
$this->assertEquals(['perl/annotation' => 'yes', 'batch.kubernetes.io/job-tracking' => ''], $job->getAnnotations());

0 commit comments

Comments
 (0)