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 5e3acd2 commit 43cdcf0Copy full SHA for 43cdcf0
tests/JobTest.php
@@ -109,7 +109,7 @@ public function runCreationTests()
109
$this->assertEquals('pi', $job->getName());
110
$this->assertEquals(['tier' => 'backend'], $job->getLabels());
111
112
- if ($this->cluster->olderThan('1.23.0')) {
+ if ($this->cluster->olderThan('1.23.0') || $this->cluster->newerThan('1.24.0')) {
113
$this->assertEquals(['perl/annotation' => 'yes'], $job->getAnnotations());
114
} else {
115
$this->assertEquals(['perl/annotation' => 'yes', 'batch.kubernetes.io/job-tracking' => ''], $job->getAnnotations());
0 commit comments