Documentation
¶
Index ¶
- type UpgradeTest
- func (UpgradeTest) DisplayName() string
- func (UpgradeTest) Name() string
- func (t *UpgradeTest) Setup(ctx context.Context, f *framework.Framework)
- func (t *UpgradeTest) Teardown(ctx context.Context, f *framework.Framework)
- func (t *UpgradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UpgradeTest ¶
type UpgradeTest struct {
// contains filtered or unexported fields
}
UpgradeTest contains artifacts used during test
func (UpgradeTest) DisplayName ¶
func (UpgradeTest) DisplayName() string
func (UpgradeTest) Name ¶
func (UpgradeTest) Name() string
func (*UpgradeTest) Setup ¶
func (t *UpgradeTest) Setup(ctx context.Context, f *framework.Framework)
Setup creates artifacts to be used by Test
func (*UpgradeTest) Teardown ¶
func (t *UpgradeTest) Teardown(ctx context.Context, f *framework.Framework)
Teardown cleans up any remaining objects.
func (*UpgradeTest) Test ¶
func (t *UpgradeTest) Test(ctx context.Context, f *framework.Framework, done <-chan struct{}, upgrade upgrades.UpgradeType)
Test simply returns successfully if admin ack functionality is not part the baseline being tested. Otherwise, test first verifies that Upgradeable condition is false for correct reason and with correct message. It then modifies the admin-acks configmap to ack the necessary admin-ack gate and then waits for the Upgradeable condition to change to true.
Click to show internal directories.
Click to hide internal directories.