Skip to content

Commit

Permalink
deterministic tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mdgeorge4153 committed Jan 29, 2025
1 parent 3f2d63b commit 1fe60e3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion crates/sui/tests/shell_tests/with_network/dummy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# SPDX-License-Identifier: Apache-2.0

# simple test just to make sure the test runner works with the network
sui client --client.config $CONFIG envs
sui client --client.config $CONFIG objects --json | jq 'length'
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ description: tests/shell_tests/with_network/dummy.sh
# SPDX-License-Identifier: Apache-2.0

# simple test just to make sure the test runner works with the network
sui client --client.config $CONFIG envs
sui client --client.config $CONFIG objects --json | jq 'length'

----- results -----
success: true
exit_code: 0
----- stdout -----
╭──────────┬────────────────────────┬────────╮
aliasurlactive
├──────────┼────────────────────────┼────────┤
localnethttp://127.0.0.1:53065 │ * │
╰──────────┴────────────────────────┴────────╯
5

----- stderr -----
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ description: tests/shell_tests/with_network/move_build_bytecode_with_address_res

# fixing issue https://github.com/MystenLabs/sui/issues/6546

COIN=$(sui client --client.config $CONFIG objects --json | jq '.[0].data.objectId')
ADDR=$(sui client --client.config $CONFIG addresses --json | jq '.addresses[0][1]')

sui client --client.config $CONFIG \
publish simple \
--json | jq '.effects.status'
Expand Down

0 comments on commit 1fe60e3

Please sign in to comment.