File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,10 +70,10 @@ public function test_deployment_api_interaction()
70
70
$ this ->runCreationTests ();
71
71
$ this ->runGetAllTests ();
72
72
$ this ->runGetTests ();
73
+ $ this ->runScalingTests ();
73
74
$ this ->runUpdateTests ();
74
75
$ this ->runWatchAllTests ();
75
76
$ this ->runWatchTests ();
76
- $ this ->runScalingTests ();
77
77
$ this ->runDeletionTests ();
78
78
}
79
79
@@ -199,7 +199,7 @@ public function runUpdateTests()
199
199
$ this ->assertEquals ('mysql ' , $ dep ->getName ());
200
200
$ this ->assertEquals (['tier ' => 'backend ' ], $ dep ->getLabels ());
201
201
$ this ->assertEquals ([], $ dep ->getAnnotations ());
202
- $ this ->assertEquals (1 , $ dep ->getReplicas ());
202
+ $ this ->assertEquals (2 , $ dep ->getReplicas ());
203
203
204
204
$ this ->assertInstanceOf (K8sPod::class, $ dep ->getTemplate ());
205
205
}
Original file line number Diff line number Diff line change @@ -108,10 +108,10 @@ public function test_stateful_set_api_interaction()
108
108
$ this ->runCreationTests ();
109
109
$ this ->runGetAllTests ();
110
110
$ this ->runGetTests ();
111
+ $ this ->runScalingTests ();
111
112
$ this ->runUpdateTests ();
112
113
$ this ->runWatchAllTests ();
113
114
$ this ->runWatchTests ();
114
- $ this ->runScalingTests ();
115
115
$ this ->runDeletionTests ();
116
116
}
117
117
@@ -255,7 +255,7 @@ public function runUpdateTests()
255
255
$ this ->assertEquals ('mysql ' , $ sts ->getName ());
256
256
$ this ->assertEquals (['tier ' => 'backend ' ], $ sts ->getLabels ());
257
257
$ this ->assertEquals ([], $ sts ->getAnnotations ());
258
- $ this ->assertEquals (1 , $ sts ->getReplicas ());
258
+ $ this ->assertEquals (2 , $ sts ->getReplicas ());
259
259
260
260
$ this ->assertInstanceOf (K8sPod::class, $ sts ->getTemplate ());
261
261
$ this ->assertInstanceOf (K8sPersistentVolumeClaim::class, $ sts ->getVolumeClaims ()[0 ]);
You can’t perform that action at this time.
0 commit comments