Skip to content

Commit

Permalink
test: PC-13893 Make acceptance test forward compatible (#312)
Browse files Browse the repository at this point in the history
## Motivation

`value` field of `objective` for Composite SLO is being
[deprecated](#295).
Before the update in can be made, a N9 platform first needs to be
[updated](nobl9/n9#15406) and new version of SDK
needs to be [released](nobl9/nobl9-go#549). To
be able to release changes in the platform, e2e tests of the latest
released SDK and Terraform Provider need to pass against it.

## Summary

E2E test assertions will pass with and without
[changes](nobl9/n9#15406) in N9 platform.

## Related changes

nobl9/nobl9-go#551
nobl9/nobl9-go#549
nobl9/n9#15406
#312
#295

## Testing

Run `make test/e2e` on both environments containing and not containing
nobl9/n9#15406.
  • Loading branch information
ditrytus authored Sep 23, 2024
1 parent faf9773 commit 5766354
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nobl9/resource_slo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ resource "nobl9_slo" ":name" {
display_name = "obj1"
name = "tf-objective-1"
target = 0.7
value = 1
value = 0
composite {
max_delay = "45m"
components {
Expand Down Expand Up @@ -1089,7 +1089,7 @@ resource "nobl9_slo" ":name" {
display_name = "obj1"
name = "tf-objective-1"
target = 0.7
value = 1
value = 0
time_slice_target = 0.7
composite {
max_delay = "45m"
Expand Down

0 comments on commit 5766354

Please sign in to comment.