Logf("Startup Timeout %v reached: Its been too long and we still haven't started accumulating %v transactions!",startupTimeout,k8bpsMinTransactionsOnStartup)
breakT
}
Logf("Time: %v, %v = total petstore transactions stored into redis.",time.Now(),totalTransactions)
}
}
// We should have exceeded the minExpected num of transactions.
// We should have exceeded the finalTransactionsExpected num of transactions.
// If this fails, but there are transactions being created, we may need to recalibrate
// the minExpected value - or else - your cluster is broken/slow !
var_=Describe("Pet Store [Feature:Example]",func(){
...
...
@@ -157,14 +159,14 @@ var _ = Describe("Pet Store [Feature:Example]", func() {
varnodeCountint
f:=NewFramework("petstore")
It(fmt.Sprintf("should scale to persist a nominal number ( %v ) of transactions in %v seconds",k8bpsSmokeTestTransactions,k8bpsSmokeTestTimeout),func(){
It(fmt.Sprintf("should scale to persist a nominal number ( %v ) of transactions in %v seconds",k8bpsSmokeTestFinalTransactions,k8bpsSmokeTestTimeout),func(){