MaterializeInc / terraform-provider-materialize

A Terraform provider for Materialize
https://registry.terraform.io/providers/MaterializeInc/materialize
Mozilla Public License 2.0
11 stars 8 forks source link

`TestAccDatasourceConnection_basic` failing intermittently #619

Open bobbyiliev opened 3 months ago

bobbyiliev commented 3 months ago

We have an init container that creates a PrivateLink connection on start. So we have an acceptance test that tests the data source using that PrivateLink connection ID:

https://github.com/MaterializeInc/terraform-provider-materialize/blob/73bd471b1a442cd1fc727d9a850cb2422998641b/pkg/provider/acceptance_datasource_connection_test.go#L34-L39 https://github.com/MaterializeInc/terraform-provider-materialize/blob/73bd471b1a442cd1fc727d9a850cb2422998641b/pkg/provider/acceptance_datasource_connection_test.go#L73-L75

However, in CI this test would fail intermittently with a no results found error. Locally this works as expected each time.

The test is disabled for the moment to prevent the intermittent failing, but will be nice to have it re-enabled once we know why it fails intermittently in CI.