gorealis-v2/runTestsMac.sh
Renán I. Del Valle fc1ecd7034
Misc. fixes for tests (#16)
* Rebasing

* Fixing bad change

* Bumping up CI to go1.17 and enabling CI for PRs.

* Adding go.sum now that issues seem to have gone away.

* Do not ignore go.sum any longer.

* Bump up aurora to 0.25.0 and mesos to 1.9.0

* Removing t.Parallel to remove another possible cause of issues for now

* Fixing Mac tests. Adding extra time for killing thermos jobs

* Minor fix in an attempt to get CI to pass

* Fixing gofmt issue.

* Reducing number of group to two for variable to see if it'll help the test pass.

* reduce the thermos overhead for unit tests

Co-authored-by: lenhattan86 <lenhattan86@users.noreply.github.com>
2021-10-20 10:52:12 -07:00

4 lines
380 B
Bash

#!/bin/bash
# Since we run our docker compose setup in bridge mode to be able to run on MacOS, we have to launch a Docker container within the bridge network in order to avoid any routing issues.
docker run --rm -t -w /gorealis -v $GOPATH/pkg:/go/pkg -v $(pwd):/gorealis --network gorealis_aurora_cluster golang:1.17-buster go test -v github.com/aurora-scheduler/gorealis/v2 $@