Skip to content

Commit

Permalink
fix tests, bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
nhudson committed Nov 1, 2024
1 parent 297c5e8 commit 20e4c39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tembo-operator/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tembo-operator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "controller"
description = "Tembo Operator for Postgres"
version = "0.51.0"
version = "0.52.0"
edition = "2021"
default-run = "controller"
license = "Apache-2.0"
Expand Down
4 changes: 4 additions & 0 deletions tembo-operator/src/cloudnativepg/cnpg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3499,6 +3499,7 @@ mod tests {
enable_volume_snapshot: true,
reconcile_ttl: 30,
reconcile_timestamp_ttl: 90,
volume_snapshot_rentention_period: 40,
};

// Test with backups enabled and valid path
Expand Down Expand Up @@ -3545,6 +3546,7 @@ mod tests {
enable_volume_snapshot: false,
reconcile_ttl: 30,
reconcile_timestamp_ttl: 90,
volume_snapshot_rentention_period: 40,
};
let (backup, template) = cnpg_backup_configuration(&cdb, &cfg_disabled);
assert!(backup.is_none());
Expand Down Expand Up @@ -3693,6 +3695,7 @@ mod tests {
enable_volume_snapshot: true,
reconcile_ttl: 30,
reconcile_timestamp_ttl: 90,
volume_snapshot_rentention_period: 40,
};

// Test with backups enabled and valid path
Expand Down Expand Up @@ -3747,6 +3750,7 @@ mod tests {
enable_volume_snapshot: false,
reconcile_ttl: 30,
reconcile_timestamp_ttl: 90,
volume_snapshot_rentention_period: 40,
};
let (backup, template) = cnpg_backup_configuration(&cdb, &cfg_disabled);
assert!(backup.is_none());
Expand Down

0 comments on commit 20e4c39

Please sign in to comment.