Kubernetes Prow Robot
|
f85b2f8d4d
|
Merge pull request #1796 from ingvagabund/nodeaffinity-unit-test
refactor(TestRemovePodsViolatingNodeAffinity): inline object creation
|
2025-12-15 07:45:47 -08:00 |
|
Jan Chaloupka
|
07616c3fc0
|
refactor(TestRemovePodsHavingTooManyRestarts): make fmt
|
2025-12-15 16:14:50 +01:00 |
|
Jan Chaloupka
|
cad120881f
|
refactor(TestRemovePodsViolatingNodeAffinity): apply pod single creation convention
|
2025-12-15 16:02:37 +01:00 |
|
Jan Chaloupka
|
aec4416099
|
refactor(TestRemovePodsViolatingNodeAffinity): add buildUnschedulableNodeWithLabels function
|
2025-12-15 15:59:01 +01:00 |
|
Jan Chaloupka
|
7b9d5d2539
|
refactor(TestRemovePodsViolatingNodeAffinity): inline nodeWithoutLabels
|
2025-12-15 15:50:25 +01:00 |
|
Jan Chaloupka
|
9f7629136f
|
refactor(TestRemovePodsViolatingNodeAffinity): inline nodeWithLabels
|
2025-12-15 15:48:00 +01:00 |
|
Jan Chaloupka
|
42d255fd95
|
refactor(TestRemovePodsViolatingNodeAffinity): update addPodsToNode to accept nodeName
|
2025-12-15 15:33:58 +01:00 |
|
Jan Chaloupka
|
183a138d82
|
refactor(TestRemovePodsViolatingNodeAffinity): add constants for node names
|
2025-12-15 15:28:03 +01:00 |
|
Jan Chaloupka
|
a2ffbc1261
|
refactor(TestRemovePodsViolatingNodeAffinity): apply unit test convention for podWithNodeAffinity
|
2025-12-15 14:35:05 +01:00 |
|
Jan Chaloupka
|
2cda1bd89d
|
refactor(TestRemovePodsViolatingNodeAffinity): deduplicate pod creation with buildTestPod helper
|
2025-12-15 14:35:03 +01:00 |
|
Jan Chaloupka
|
691a1da43b
|
refactor(TestRemovePodsViolatingNodeAffinity): apply unit test convention for unschedulableNodeWithLabels
|
2025-12-15 14:34:59 +01:00 |
|
Jan Chaloupka
|
8fe74c7a0c
|
refactor(TestRemovePodsViolatingNodeAffinity): apply unit test convention for nodeWithLabels
|
2025-12-15 14:34:54 +01:00 |
|
Jan Chaloupka
|
102bd6a91d
|
refactor(TestRemovePodsViolatingNodeAffinity): deduplicate node creation with buildTestNode helper
|
2025-12-15 14:34:44 +01:00 |
|
Jan Chaloupka
|
3d1e15bb82
|
refactor(TestPodAntiAffinity): apply gofumpt formatting
|
2025-12-15 14:21:32 +01:00 |
|
Jan Chaloupka
|
3c02d9029c
|
refactor(TestPodAntiAffinity): inline p1, p2, p4 builders
|
2025-12-15 14:13:51 +01:00 |
|
Jan Chaloupka
|
57a3e610a7
|
refactor(TestPodAntiAffinity): deduplicate p1, p3, p4 builders
|
2025-12-15 14:06:05 +01:00 |
|
Jan Chaloupka
|
7cec27d467
|
refactor(TestPodAntiAffinity): inline nonEvictablePod
|
2025-12-15 13:56:37 +01:00 |
|
Jan Chaloupka
|
688b45011a
|
refactor(TestPodAntiAffinity): inline p11
|
2025-12-15 13:56:07 +01:00 |
|
Jan Chaloupka
|
a96451030c
|
refactor(TestPodAntiAffinity): inline p10
|
2025-12-15 13:55:36 +01:00 |
|
Jan Chaloupka
|
a4930ebc83
|
refactor(TestPodAntiAffinity): inline p9
|
2025-12-15 13:55:11 +01:00 |
|
Jan Chaloupka
|
ad872f8b77
|
refactor(TestPodAntiAffinity): inline p8
|
2025-12-15 13:54:40 +01:00 |
|
Jan Chaloupka
|
a0654df270
|
refactor(TestPodAntiAffinity): inline p7
|
2025-12-15 13:54:07 +01:00 |
|
Jan Chaloupka
|
03b5a9a967
|
refactor(TestPodAntiAffinity): inline p6
|
2025-12-15 13:53:43 +01:00 |
|
Jan Chaloupka
|
9f2d22c1f7
|
refactor(TestPodAntiAffinity): inline p5
|
2025-12-15 13:53:19 +01:00 |
|
Jan Chaloupka
|
cbe1c1e559
|
refactor(TestPodAntiAffinity): inline p4
|
2025-12-15 13:52:21 +01:00 |
|
Jan Chaloupka
|
87182c5e8f
|
refactor(TestPodAntiAffinity): inline p3
|
2025-12-15 13:51:58 +01:00 |
|
Jan Chaloupka
|
2765e31048
|
refactor(TestPodAntiAffinity): inline p2
|
2025-12-15 13:51:00 +01:00 |
|
Jan Chaloupka
|
87f675a2cd
|
refactor(TestPodAntiAffinity): inline p1
|
2025-12-15 13:48:01 +01:00 |
|
Jan Chaloupka
|
a400a66d51
|
refactor(TestPodAntiAffinity): create dedicated builders for p1-p4 and nonEvictablePod
|
2025-12-15 13:43:11 +01:00 |
|
Jan Chaloupka
|
fa427a2b37
|
refactor(TestPodAntiAffinity): deduplicate setting Labels for foo1-bar1
|
2025-12-15 13:38:58 +01:00 |
|
Jan Chaloupka
|
90672630da
|
refactor(TestPodAntiAffinity): deduplicate setting Labels for foo-bar
|
2025-12-15 13:37:55 +01:00 |
|
Jan Chaloupka
|
6a00214457
|
refactor(TestPodAntiAffinity): deduplicate setPodAntiAffinity for foo1-bar1
|
2025-12-15 13:36:27 +01:00 |
|
Jan Chaloupka
|
9413b0c654
|
refactor(TestPodAntiAffinity): deduplicate setPodAntiAffinity for foo-bar
|
2025-12-15 13:34:05 +01:00 |
|
Jan Chaloupka
|
3072a59ea0
|
refactor(TestPodAntiAffinity): ensure nonEvictablePod is created only through apply argument
|
2025-12-15 13:25:04 +01:00 |
|
Jan Chaloupka
|
0e56823865
|
refactor(TestPodAntiAffinity): ensure p11 is created only through apply argument
|
2025-12-15 13:24:09 +01:00 |
|
Jan Chaloupka
|
ea80f7d307
|
refactor(TestPodAntiAffinity): ensure p10 is created only through apply argument
|
2025-12-15 13:23:46 +01:00 |
|
Jan Chaloupka
|
6638b976ad
|
refactor(TestPodAntiAffinity): ensure p9 is created only through apply argument
|
2025-12-15 13:23:10 +01:00 |
|
Jan Chaloupka
|
116385718f
|
refactor(TestPodAntiAffinity): ensure p8 is created only through apply argument
|
2025-12-15 13:22:35 +01:00 |
|
Jan Chaloupka
|
5ad695166a
|
refactor(TestPodAntiAffinity): ensure p7 is created only through apply argument
|
2025-12-15 13:22:12 +01:00 |
|
Jan Chaloupka
|
d5e0ec597f
|
refactor(TestPodAntiAffinity): ensure p6 is created only through apply argument
|
2025-12-15 13:21:32 +01:00 |
|
Jan Chaloupka
|
4b86cdd31a
|
refactor(TestPodAntiAffinity): ensure p5 is created only through apply argument
|
2025-12-15 13:20:53 +01:00 |
|
Jan Chaloupka
|
99527292e0
|
refactor(TestPodAntiAffinity): ensure p4 is created only through apply argument
|
2025-12-15 13:20:06 +01:00 |
|
Jan Chaloupka
|
cf79af6fba
|
refactor(TestPodAntiAffinity): ensure p3 is created only through apply argument
|
2025-12-15 13:19:38 +01:00 |
|
Jan Chaloupka
|
da55c779f2
|
refactor(TestPodAntiAffinity): ensure p2 is created only through apply argument
|
2025-12-15 13:18:50 +01:00 |
|
Jan Chaloupka
|
c5b9debe56
|
refactor(TestPodAntiAffinity): ensure p1 is created only through apply argument
|
2025-12-15 12:57:19 +01:00 |
|
Jan Chaloupka
|
18f847bbe8
|
refactor(TestPodAntiAffinity): create buildTestPodForNode1 to deduplicate nodeName1
|
2025-12-15 12:54:42 +01:00 |
|
Jan Chaloupka
|
6e753ac5fb
|
refactor(TestPodAntiAffinity): create buildTestPod helper to deduplicate 100 and 0 literals
|
2025-12-15 12:52:02 +01:00 |
|
Jan Chaloupka
|
b797ca6ba2
|
refactor(TestPodAntiAffinity): inline node2, node3, node4, and node5
|
2025-12-15 12:48:50 +01:00 |
|
Jan Chaloupka
|
4ffabad669
|
refactor(TestPodAntiAffinity): create buildTestNode1 and inline node1
|
2025-12-15 12:45:07 +01:00 |
|
Jan Chaloupka
|
bba62ccb93
|
refactor(TestPodAntiAffinity): extract setNodeMainRegionLabel helper
|
2025-12-15 12:40:46 +01:00 |
|