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