Skip to content

Commit

Permalink
feat: add the correct replicas in test
Browse files Browse the repository at this point in the history
  • Loading branch information
maheshrayas committed Apr 10, 2024
1 parent 444e381 commit d9ef0b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/downscaler/processor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,5 @@ async fn test5_check_if_ignored() {
// kube-saver must ignore
let api: Api<Deployment> = Api::namespaced(client.clone(), "kuber14");
let d = api.get("test-kuber14-deploy1").await.unwrap();
assert_eq!(d.spec.unwrap().replicas, Some(0));

assert_eq!(d.spec.unwrap().replicas, Some(2));
}

0 comments on commit d9ef0b3

Please sign in to comment.