We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 638c43f commit aad3a04Copy full SHA for aad3a04
test/e2e/atlas/data_federation_db_test.go
@@ -65,6 +65,21 @@ func TestDataFederation(t *testing.T) {
65
assert.Equal(t, dataFederationName, dataLake.GetName())
66
})
67
68
+ t.Cleanup(func() {
69
+ t.Log("cleaning up created datafederation")
70
+ cmd := exec.Command(cliPath,
71
+ datafederationEntity,
72
+ "delete",
73
+ dataFederationName,
74
+ "--force")
75
+ cmd.Env = os.Environ()
76
+
77
+ // this command will only succeed in case one of the tests after this one fails
78
+ // not printing the output, because it might cause confusion
79
+ _ = cmd.Run()
80
+ t.Log("finished cleaning up created datafederation")
81
+ })
82
83
t.Run("Describe", func(t *testing.T) {
84
cmd := exec.Command(cliPath,
85
datafederationEntity,
0 commit comments