type chaosMonkeyAdapter … func (cma *chaosMonkeyAdapter) Test(ctx context.Context, sem *chaosmonkey.Semaphore) { … } func CreateUpgradeFrameworks(tests []Test) map[string]*framework.Framework { … } // RunUpgradeSuite runs the actual upgrade tests. func RunUpgradeSuite( ctx context.Context, upgCtx *UpgradeContext, tests []Test, testFrameworks map[string]*framework.Framework, testSuite *junit.TestSuite, upgradeType UpgradeType, upgradeFunc func(ctx context.Context), ) { … }