Skip to content

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

Open
j1n-o9r wants to merge 2 commits into
mainfrom
fix/STACKITTPR-677-mongodbflex-instance-unit-tests-failing
Open

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

Conversation

@j1n-o9r
Copy link
Copy Markdown
Contributor

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

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)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 1, 2026

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

@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
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.

1 participant