From 6a8fcc790daaf01205da2f69b5bd1d0f4f3f37f6 Mon Sep 17 00:00:00 2001 From: Alex | Interchain Labs Date: Mon, 14 Apr 2025 17:43:50 -0400 Subject: [PATCH] chore: prep systemstest (#24514) --- systemtests/CHANGELOG.md | 2 +- .../{getting_started.md => GETTING_STARTED.md} | 0 systemtests/README.md | 2 +- tests/systemtests/README.md | 15 +-------------- 4 files changed, 3 insertions(+), 16 deletions(-) rename systemtests/{getting_started.md => GETTING_STARTED.md} (100%) diff --git a/systemtests/CHANGELOG.md b/systemtests/CHANGELOG.md index ed8d61e42a..59130aa35f 100644 --- a/systemtests/CHANGELOG.md +++ b/systemtests/CHANGELOG.md @@ -36,7 +36,7 @@ Ref: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.j ## [Unreleased] -## [v1.1.0] - 2025-04-24 +## [v1.2.0] - 2025-04-24 * SDK v0.53.x support. diff --git a/systemtests/getting_started.md b/systemtests/GETTING_STARTED.md similarity index 100% rename from systemtests/getting_started.md rename to systemtests/GETTING_STARTED.md diff --git a/systemtests/README.md b/systemtests/README.md index f58e6cb547..612798dffb 100644 --- a/systemtests/README.md +++ b/systemtests/README.md @@ -29,7 +29,7 @@ Therefore, we focus on the **critical path** and do not cover every condition. ## How to use -Read the [getting_started.md](../systemtests/getting_started.md) guide to get started. +Read the [GETTING_STARTED](../systemtests/GETTING_STARTED.md) guide to get started. ### Execute a single test diff --git a/tests/systemtests/README.md b/tests/systemtests/README.md index d2aa7112d5..59069e8527 100644 --- a/tests/systemtests/README.md +++ b/tests/systemtests/README.md @@ -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. \ No newline at end of file