Skip to content

chore(mongodbflex): bump version of sdk module from 1.8.3 to 1.10.0#1496

Merged
Fyusel merged 2 commits into
mainfrom
fix/STACKITTPR-677-mongodbflex-instance-unit-tests-failing
Jun 9, 2026
Merged

chore(mongodbflex): bump version of sdk module from 1.8.3 to 1.10.0#1496
Fyusel merged 2 commits into
mainfrom
fix/STACKITTPR-677-mongodbflex-instance-unit-tests-failing

Conversation

@j1n-o9r

@j1n-o9r j1n-o9r commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Description

Unit tests are failing with SDK mongodbflex v1.9.0 or above.

➜  terraform-provider-stackit git:(fix/STACKITTPR-677-mongodbflex-instance-unit-tests-failing) ✗ go test ./stackit/internal/services/mongodbflex/instance/
# github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/mongodbflex/instance [github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/mongodbflex/instance.test]
stackit/internal/services/mongodbflex/instance/resource_test.go:125:16: cannot use new("READY") (value of type *string) as *v2api.InstanceStatus value in struct literal
stackit/internal/services/mongodbflex/instance/resource_test.go:200:22: cannot use new("READY") (value of type *string) as *v2api.InstanceStatus value in struct literal
stackit/internal/services/mongodbflex/instance/resource_test.go:285:22: cannot use new("READY") (value of type *string) as *v2api.InstanceStatus value in struct literal
FAIL    github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/mongodbflex/instance [build failed]
FAIL

relates to STACKITTPR-677

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Acceptance tests got implemented or updated (see e.g. here)
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

@j1n-o9r j1n-o9r marked this pull request as ready for review June 3, 2026 13:06
@j1n-o9r j1n-o9r requested a review from a team as a code owner June 3, 2026 13:06
@j1n-o9r j1n-o9r changed the title fix(mongodbflex): instance unit tests failing fix(mongodbflex): bump version from sdk module from 1.8.3 to 1.10.0 Jun 3, 2026
@j1n-o9r j1n-o9r changed the title fix(mongodbflex): bump version from sdk module from 1.8.3 to 1.10.0 chore(mongodbflex): bump version from sdk module from 1.8.3 to 1.10.0 Jun 3, 2026
@j1n-o9r j1n-o9r changed the title chore(mongodbflex): bump version from sdk module from 1.8.3 to 1.10.0 chore(mongodbflex): bump version of sdk module from 1.8.3 to 1.10.0 Jun 3, 2026
@Fyusel Fyusel force-pushed the fix/STACKITTPR-677-mongodbflex-instance-unit-tests-failing branch from 092ff86 to b882fc8 Compare June 9, 2026 06:36
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/mongodbflex/instance 29.48% (ø)

Coverage by file

Changed unit test files

  • github.com/stackitcloud/terraform-provider-stackit/stackit/internal/services/mongodbflex/instance/resource_test.go

@Fyusel Fyusel merged commit dc7e272 into main Jun 9, 2026
3 checks passed
@Fyusel Fyusel deleted the fix/STACKITTPR-677-mongodbflex-instance-unit-tests-failing branch June 9, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants