framework.Logf("Startup Timeout %v reached: Its been too long and we still haven't started accumulating %v transactions!",startupTimeout,k8bpsMinTransactionsOnStartup)
breakT
}
}
}
// We should have exceeded the finalTransactionsExpected num of transactions.
// If this fails, but there are transactions being created, we may need to recalibrate
// the finalTransactionsExpected value - or else - your cluster is broken/slow !
var_=framework.KubeDescribe("Pet Store [Feature:Example]",func(){
BeforeEach(func(){
// The shell scripts in k8petstore break on jenkins... Pure golang rewrite is in progress.
framework.SkipUnlessProviderIs("local")
})
// The number of nodes dictates total number of generators/transaction expectations.
varnodeCountint
f:=framework.NewDefaultFramework("petstore")
It(fmt.Sprintf("should scale to persist a nominal number ( %v ) of transactions in %v seconds",k8bpsSmokeTestFinalTransactions,k8bpsSmokeTestTimeout),func(){