From 49574adcc6b8f7a66cdd54c911b3e133dddec6f0 Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Tue, 10 Oct 2023 13:00:51 +0900 Subject: [PATCH] fix test case (#157) * fix test case * remove empty lines --- controllers/testdata/deletion-no-delete/before/tortoise.yaml | 2 -- controllers/testdata/deletion-policy-all/before/tortoise.yaml | 2 -- .../after/tortoise.yaml | 2 -- .../before/tortoise.yaml | 2 -- .../after/tortoise.yaml | 2 -- .../before/tortoise.yaml | 2 -- .../after/tortoise.yaml | 2 -- .../before/tortoise.yaml | 2 -- .../after/tortoise.yaml | 2 -- .../before/tortoise.yaml | 2 -- .../after/tortoise.yaml | 2 -- .../before/tortoise.yaml | 2 -- .../after/tortoise.yaml | 2 -- .../before/tortoise.yaml | 2 -- .../after/tortoise.yaml | 2 -- .../before/tortoise.yaml | 2 -- 16 files changed, 32 deletions(-) diff --git a/controllers/testdata/deletion-no-delete/before/tortoise.yaml b/controllers/testdata/deletion-no-delete/before/tortoise.yaml index 0cf9c64c..45c47157 100644 --- a/controllers/testdata/deletion-no-delete/before/tortoise.yaml +++ b/controllers/testdata/deletion-no-delete/before/tortoise.yaml @@ -59,14 +59,12 @@ status: to: 24 updatedAt: "2023-10-06T01:32:21Z" value: 15 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:32:21Z" value: 3 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/deletion-policy-all/before/tortoise.yaml b/controllers/testdata/deletion-policy-all/before/tortoise.yaml index 8e22483e..c73cc9e4 100644 --- a/controllers/testdata/deletion-policy-all/before/tortoise.yaml +++ b/controllers/testdata/deletion-policy-all/before/tortoise.yaml @@ -59,14 +59,12 @@ status: to: 24 updatedAt: "2023-10-06T01:32:20Z" value: 15 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:32:20Z" value: 3 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-multiple-containers-pod-all-off/after/tortoise.yaml b/controllers/testdata/reconcile-for-the-multiple-containers-pod-all-off/after/tortoise.yaml index 4bd71e66..7953890e 100644 --- a/controllers/testdata/reconcile-for-the-multiple-containers-pod-all-off/after/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-multiple-containers-pod-all-off/after/tortoise.yaml @@ -58,14 +58,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:47Z" value: 20 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:47Z" value: 5 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: {} diff --git a/controllers/testdata/reconcile-for-the-multiple-containers-pod-all-off/before/tortoise.yaml b/controllers/testdata/reconcile-for-the-multiple-containers-pod-all-off/before/tortoise.yaml index bf5306f8..6fb80a8e 100644 --- a/controllers/testdata/reconcile-for-the-multiple-containers-pod-all-off/before/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-multiple-containers-pod-all-off/before/tortoise.yaml @@ -58,14 +58,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:47Z" value: 15 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:47Z" value: 3 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: {} diff --git a/controllers/testdata/reconcile-for-the-multiple-containers-pod-emergency/after/tortoise.yaml b/controllers/testdata/reconcile-for-the-multiple-containers-pod-emergency/after/tortoise.yaml index 979748d0..614d1646 100644 --- a/controllers/testdata/reconcile-for-the-multiple-containers-pod-emergency/after/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-multiple-containers-pod-emergency/after/tortoise.yaml @@ -59,14 +59,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:47Z" value: 20 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:47Z" value: 5 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-multiple-containers-pod-emergency/before/tortoise.yaml b/controllers/testdata/reconcile-for-the-multiple-containers-pod-emergency/before/tortoise.yaml index 1736892e..c78e6991 100644 --- a/controllers/testdata/reconcile-for-the-multiple-containers-pod-emergency/before/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-multiple-containers-pod-emergency/before/tortoise.yaml @@ -59,14 +59,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:47Z" value: 15 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:47Z" value: 3 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-multiple-containers-pod-one-off/after/tortoise.yaml b/controllers/testdata/reconcile-for-the-multiple-containers-pod-one-off/after/tortoise.yaml index c6d80a04..04b48143 100644 --- a/controllers/testdata/reconcile-for-the-multiple-containers-pod-one-off/after/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-multiple-containers-pod-one-off/after/tortoise.yaml @@ -58,14 +58,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:46Z" value: 20 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:46Z" value: 5 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-multiple-containers-pod-one-off/before/tortoise.yaml b/controllers/testdata/reconcile-for-the-multiple-containers-pod-one-off/before/tortoise.yaml index af182bda..8b22c9af 100644 --- a/controllers/testdata/reconcile-for-the-multiple-containers-pod-one-off/before/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-multiple-containers-pod-one-off/before/tortoise.yaml @@ -58,14 +58,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:46Z" value: 15 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:46Z" value: 3 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-multiple-containers-pod-working/after/tortoise.yaml b/controllers/testdata/reconcile-for-the-multiple-containers-pod-working/after/tortoise.yaml index 26b9a676..c9beeacf 100644 --- a/controllers/testdata/reconcile-for-the-multiple-containers-pod-working/after/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-multiple-containers-pod-working/after/tortoise.yaml @@ -58,14 +58,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:46Z" value: 20 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:46Z" value: 5 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-multiple-containers-pod-working/before/tortoise.yaml b/controllers/testdata/reconcile-for-the-multiple-containers-pod-working/before/tortoise.yaml index 7b7b5ec8..4d1bb9d7 100644 --- a/controllers/testdata/reconcile-for-the-multiple-containers-pod-working/before/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-multiple-containers-pod-working/before/tortoise.yaml @@ -58,14 +58,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:46Z" value: 15 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:46Z" value: 3 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-single-container-pod-dryrun/after/tortoise.yaml b/controllers/testdata/reconcile-for-the-single-container-pod-dryrun/after/tortoise.yaml index cc2243ec..f85db2a2 100644 --- a/controllers/testdata/reconcile-for-the-single-container-pod-dryrun/after/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-single-container-pod-dryrun/after/tortoise.yaml @@ -40,14 +40,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:45Z" value: 20 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:45Z" value: 5 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-single-container-pod-dryrun/before/tortoise.yaml b/controllers/testdata/reconcile-for-the-single-container-pod-dryrun/before/tortoise.yaml index b7f0f882..f8c05329 100644 --- a/controllers/testdata/reconcile-for-the-single-container-pod-dryrun/before/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-single-container-pod-dryrun/before/tortoise.yaml @@ -40,14 +40,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:45Z" value: 15 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:45Z" value: 3 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-single-container-pod-emergency/after/tortoise.yaml b/controllers/testdata/reconcile-for-the-single-container-pod-emergency/after/tortoise.yaml index 35813f7b..ab0fa1a2 100644 --- a/controllers/testdata/reconcile-for-the-single-container-pod-emergency/after/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-single-container-pod-emergency/after/tortoise.yaml @@ -40,14 +40,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:45Z" value: 20 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:45Z" value: 5 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-single-container-pod-emergency/before/tortoise.yaml b/controllers/testdata/reconcile-for-the-single-container-pod-emergency/before/tortoise.yaml index eee4eec0..30ca62b1 100644 --- a/controllers/testdata/reconcile-for-the-single-container-pod-emergency/before/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-single-container-pod-emergency/before/tortoise.yaml @@ -40,14 +40,12 @@ status: to: 24 updatedAt: "2023-10-06T01:15:45Z" value: 15 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:15:45Z" value: 3 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-single-container-pod-working/after/tortoise.yaml b/controllers/testdata/reconcile-for-the-single-container-pod-working/after/tortoise.yaml index 5a5846ae..62369bdf 100644 --- a/controllers/testdata/reconcile-for-the-single-container-pod-working/after/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-single-container-pod-working/after/tortoise.yaml @@ -39,14 +39,12 @@ status: to: 24 updatedAt: "2023-10-06T01:01:24Z" value: 20 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:01:24Z" value: 5 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: diff --git a/controllers/testdata/reconcile-for-the-single-container-pod-working/before/tortoise.yaml b/controllers/testdata/reconcile-for-the-single-container-pod-working/before/tortoise.yaml index 6b6f622d..1eecdb27 100644 --- a/controllers/testdata/reconcile-for-the-single-container-pod-working/before/tortoise.yaml +++ b/controllers/testdata/reconcile-for-the-single-container-pod-working/before/tortoise.yaml @@ -39,14 +39,12 @@ status: to: 24 updatedAt: "2023-10-06T01:01:24Z" value: 15 - weekday: Friday minReplicas: - from: 0 timezone: Local to: 24 updatedAt: "2023-10-06T01:01:24Z" value: 3 - weekday: Friday targetUtilizations: - containerName: app targetUtilization: