Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Aug 30, 2024
1 parent f236631 commit f6d2aab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ jobs:
run: |
(for f in service/pool/tests/*.test.sh; do
echo "==== Run test $f ===="
ic-repl "$f" || exit
ic-repl -v "$f" || exit
done)
- name: Actor class test
run: |
cd ./service/pool/tests/actor_class
dfx canister create --all
dfx build
ic-repl ./test.sh
ic-repl -v ./test.sh
- name: Stop dfx
run: dfx stop
4 changes: 2 additions & 2 deletions service/pool/tests/canisterPool.test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ read_state("canister", CID2.id, "module_hash");
let c1 = call S.deployCanister(null, opt record { arg = blob ""; wasm_module = empty_wasm; bypass_wasm_transform = opt true });
let c1 = c1[0];
call S.transferOwnership(c1, vec {c1.id; S});
let c2 = call S.deployCanister(opt c1, opt record { arg = blob ""; wasm_module = empty_wasm; bypass_wasm_transform = opt true });
assert c2[0].id != c1.id;
fail call S.deployCanister(opt c1, opt record { arg = blob ""; wasm_module = empty_wasm; bypass_wasm_transform = opt true });
assert _ ~= "Cannot find canister";

let init = opt record {
cycles_per_canister = 105_000_000_000;
Expand Down

0 comments on commit f6d2aab

Please sign in to comment.