Yusef Napora f0762b1814
add baseline pubsub test plan (#6)
* refactor baseline test out of private repo

* rm references to attackers

* fix default plan name & add widget to override

* add configs for local runners

* update runner notebook intro text

* fix build tags

* increase setup time in saved configs
2020-05-15 14:09:41 -04:00

25 lines
420 B
Go

package main
import (
"errors"
"fmt"
"github.com/testground/sdk-go/runtime"
)
func main() {
runtime.Invoke(run)
}
// Pick a different example function to run
// depending on the name of the test case.
func run(runenv *runtime.RunEnv) error {
switch c := runenv.TestCase; c {
case "evaluate":
return RunSimulation(runenv)
default:
msg := fmt.Sprintf("Unknown Testcase %s", c)
return errors.New(msg)
}
}