diff --git a/internal/provider/resource_application_test.go b/internal/provider/resource_application_test.go index ea079f26..4622481c 100644 --- a/internal/provider/resource_application_test.go +++ b/internal/provider/resource_application_test.go @@ -738,7 +738,13 @@ func TestAcc_ResourceApplication_UpdateEndpointBindings(t *testing.T) { }) } +// NOTE: We should skip this test because we observe the (potential) race in Juju provisioner. +// This race prevent us from destroying the machines (0, lxd:0) after the test is done. +// That was not visible until we re-design of how we check the model destroy in TF provider. +// But actually after this test the model dangling forever. This behavior is not reproduced +// if to deploy scenario manually (via Juju CLI). func TestAcc_ResourceApplication_StorageLXD(t *testing.T) { + t.Skip("Skip this test until the issue is fixed") if testingCloud != LXDCloudTesting { t.Skip(t.Name() + " only runs with LXD") }