Use bats fork for BATS_JOB_SLOT env variable
@@ -5,7 +5,7 @@ SUDO := $(shell docker info > /dev/null 2> /dev/null || echo "sudo")
TEST_FLAGS?=
-BATS_COMMIT := 87b16eb8ec381beca7f05d028e4ad7cf3f647a0f
+BATS_COMMIT := 3a1c2f28be260f8687ff83183cef4963faabedd6
SHELLCHECK_VERSION := 0.7.0
SHFMT_VERSION := 2.6.4
@@ -140,7 +140,8 @@ test/e2e/bats: cache/bats-core-$(BATS_COMMIT).tar.gz
tar -C $@ --strip-components 1 -xzf $<
cache/bats-core-$(BATS_COMMIT).tar.gz:
- curl --fail -L -o $@ https://github.com/bats-core/bats-core/archive/$(BATS_COMMIT).tar.gz
+ # Use 2opremio's fork until https://github.com/bats-core/bats-core/pull/255 is merged
+ curl --fail -L -o $@ https://github.com/2opremio/bats-core/archive/$(BATS_COMMIT).tar.gz
$(GOBIN)/fluxctl: $(FLUXCTL_DEPS) $(GENERATED_TEMPLATES_FILE)
go install ./cmd/fluxctl
