We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43cdcf0 commit ae457d2Copy full SHA for ae457d2
tests/JobTest.php
@@ -186,7 +186,7 @@ public function runGetTests()
186
$this->assertEquals('pi', $job->getName());
187
$this->assertEquals(['tier' => 'backend'], $job->getLabels());
188
189
- if ($this->cluster->olderThan('1.23.0')) {
+ if ($this->cluster->olderThan('1.23.0') || $this->cluster->newerThan('1.24.0')) {
190
$this->assertEquals(['perl/annotation' => 'yes'], $job->getAnnotations());
191
} else {
192
$this->assertEquals(['perl/annotation' => 'yes', 'batch.kubernetes.io/job-tracking' => ''], $job->getAnnotations());
0 commit comments