chore: prep systemstest (#24514)

This commit is contained in:
Alex | Interchain Labs
2025-04-14 21:43:50 +00:00
committed by GitHub
parent 7e5e8dc44b
commit 6a8fcc790d
4 changed files with 3 additions and 16 deletions
+1 -14
View File
@@ -2,7 +2,7 @@
Go black box tests that setup and interact with a local blockchain. The system test [framework](../../systemtests)
works with the compiled binary of the chain artifact only.
To get up to speed, checkout the [getting started guide](../../systemtests/getting_started.md).
To get up to speed, checkout the [getting started guide](../../systemtests/GETTING_STARTED.md).
Beside the Go tests and testdata files, this directory can contain the following directories:
@@ -33,16 +33,3 @@ cp ./build/simd ./tests/systemtests/binaries/
```shell
go test -v -mod=readonly -failfast -tags='system_test' --run TestStakeUnstake ./... --verbose
```
### Working with macOS
Most tests should function seamlessly. However, the file [upgrade_test.go](upgrade_test.go) includes a **build annotation** for Linux only.
For the system upgrade test, an older version of the binary is utilized to perform a chain upgrade. This artifact is retrieved from a Docker container built for Linux.
To circumvent this limitation locally:
1. Checkout and build the older version of the artifact from a specific tag for your OS.
2. Place the built artifact into the `binaries` folder.
3. Ensure that the filename, including the version, is correct.
With the cached artifact in place, the test will use this file instead of attempting to pull it from Docker.