diff --git a/.changelog/5986.trivial.md b/.changelog/5986.trivial.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/docs/development-setup/oasis-net-runner.md b/docs/development-setup/oasis-net-runner.md index 3e64053c574..ef1c5d83720 100644 --- a/docs/development-setup/oasis-net-runner.md +++ b/docs/development-setup/oasis-net-runner.md @@ -40,23 +40,6 @@ and supports reading, writing, and fetching string values associated with the given key. To learn how to create your own runtime, see the sources of the [simple-keyvalue example] and [Building a runtime] chapter in the Oasis SDK. -Finally, to test Oasis node, we will run a test client written specifically -for the `simple-keyvalue` runtime. The client sends a few keys with associated -values and fetches them back over RPC defined in the runtime's API. Execute the -client as follows (substituting the socket path from your log output) in a -different terminal: - -``` -./target/default/release/simple-keyvalue-client \ - --runtime-id 8000000000000000000000000000000000000000000000000000000000000000 \ - --node-address unix:/tmp/oasis-net-runner530668299/net-runner/network/client-0/internal.sock -``` - -By default, Oasis node is configured with a 30-second epoch, so you may -initially need to wait for the first epoch to pass before the test client will -make any progress. For more information on writing your own client, see the -[Oasis SDK](https://github.com/oasisprotocol/oasis-sdk). - [the default network fixture]: https://github.com/oasisprotocol/oasis-core/tree/master/go/oasis-net-runner/fixtures/default.go [simple-keyvalue example]: https://github.com/oasisprotocol/oasis-core/tree/master/tests/runtimes/simple-keyvalue diff --git a/go/oasis-test-runner/README.md b/go/oasis-test-runner/README.md index 34e897415b1..758f726f39a 100644 --- a/go/oasis-test-runner/README.md +++ b/go/oasis-test-runner/README.md @@ -12,10 +12,22 @@ oasis-test-runner list If no flags are provided, all scenarios are executed. To run a specific scenario, e.g `e2e/runtime/runtime-dynamic`, pass the -`--scenario` flag (or its short version, `-s`) followed by scenario's name: +`--scenario` flag (or its short version, `-s`) followed by scenario's name, +together with the relevant parameters: ```bash -oasis-test-runner --scenario e2e/runtime/runtime-dynamic +oasis-test-runner \ + --e2e.node.binary go/oasis-node/oasis-node \ + --e2e/runtime.runtime.binary_dir.default ./target/default/release \ + --log.level debug \ + --scenario e2e/runtime/runtime-dynamic +``` + +To avoid manually setting parameters, you may run the CI script from the root +instead: + +```bash +.buildkite/scripts/test_e2e.sh --scenario=e2e.runtime.runtime-dynamic ``` ## Benchmarking