PACKAGES_UNIT=$(shell go list ./... | grep-E-v'tests/simulator|e2e')
PACKAGES_E2E=$(shell go list -tags e2e ./... | grep'/e2e')
PACKAGES_E2E=$(shell go list ./... | grep'/e2e')
PACKAGES_SIM=$(shell go list ./... | grep'/tests/simulator')
TEST_PACKAGES=./...
...
...
@@ -261,25 +261,25 @@ test-sim-bench:
# In that case, run `make e2e-remove-resources`
# manually.
# Utilizes Go cache.
test-e2e:e2e-setup test-e2e-ci
test-e2e:OSMOSIS_E2E=True e2e-setup test-e2e-ci
# test-e2e-ci runs a full e2e test suite
# does not do any validation about the state of the Docker environment
# As a result, avoid using this locally.
test-e2e-ci:
@VERSION=$(VERSION)OSMOSIS_E2E_DEBUG_LOG=True OSMOSIS_E2E_UPGRADE_VERSION=$(E2E_UPGRADE_VERSION) go test-tags e2e -mod=readonly-timeout=25m -v$(PACKAGES_E2E)
@VERSION=$(VERSION)OSMOSIS_E2E=True OSMOSIS_E2E_DEBUG_LOG=True OSMOSIS_E2E_UPGRADE_VERSION=$(E2E_UPGRADE_VERSION) go test-mod=readonly-timeout=25m -v$(PACKAGES_E2E)
# test-e2e-debug runs a full e2e test suite but does
# not attempt to delete Docker resources at the end.
test-e2e-debug:e2e-setup
@VERSION=$(VERSION)OSMOSIS_E2E_UPGRADE_VERSION=$(E2E_UPGRADE_VERSION)OSMOSIS_E2E_SKIP_CLEANUP=True go test-tags e2e -mod=readonly-timeout=25m -v$(PACKAGES_E2E)-count=1
@VERSION=$(VERSION)OSMOSIS_E2E=True OSMOSIS_E2E_UPGRADE_VERSION=$(E2E_UPGRADE_VERSION)OSMOSIS_E2E_SKIP_CLEANUP=True go test-mod=readonly-timeout=25m -v$(PACKAGES_E2E)-count=1
# test-e2e-short runs the e2e test with only short tests.
# Does not delete any of the containers after running.
# Deletes any existing containers before running.
# Does not use Go cache.
test-e2e-short:e2e-setup
@VERSION=$(VERSION)OSMOSIS_E2E_DEBUG_LOG=True OSMOSIS_E2E_SKIP_UPGRADE=True OSMOSIS_E2E_SKIP_IBC=True OSMOSIS_E2E_SKIP_STATE_SYNC=True OSMOSIS_E2E_SKIP_CLEANUP=True go test-tags e2e -mod=readonly-timeout=25m -v$(PACKAGES_E2E)-count=1
@VERSION=$(VERSION)OSMOSIS_E2E=True OSMOSIS_E2E_DEBUG_LOG=True OSMOSIS_E2E_SKIP_UPGRADE=True OSMOSIS_E2E_SKIP_IBC=True OSMOSIS_E2E_SKIP_STATE_SYNC=True OSMOSIS_E2E_SKIP_CLEANUP=True go test-mod=readonly-timeout=25m -v$(PACKAGES_E2E)-count=1