29
30
// SetupSuite implementation
32
>
}
33
34
// SetupTest implementation
36
>
// Have to define our overridden assertions in the test setup. If we did it earlier, s.T() will return nil
37
>
s.Assertions = require.New(s.T())
38
>
s.ctx, s.cancel = context.WithTimeout(context.Background(), 30*time.Second*debug.TimeoutMultiplier)
39
>
}
40
41
// TearDownTest implementation
43
>
// Ensure all tests clean up after themselves
44
>
// Todo: MetaMgr should provide api to clear all members
45
>
s.waitForPrune(1 * time.Second)
46
>
s.cancel()
47
>
}
48
49
// TearDownSuite implementation
51
>
s.TearDownWorkflowStore()
52
>
}
53
54
// TestClusterMembershipEmptyInitially verifies the GetClusterMembers() works with an initial empty table