Skip to content

sui_v1.30.0_1720772039_ci

@rvantonder rvantonder tagged this 12 Jul 05:24
## Description 

Some test setups call [`[setup(),
setup()]`](https://github.com/MystenLabs/sui/blob/9c588e14f284a8feb10f29791f32ad6bb3f36ae4/sdk/typescript/test/e2e/coin-with-balance.test.ts#L22)
which can cause a race on accessing the tmp `config.yaml` (which happens
in the same tmp directory). This change ensures `setup()` is creates
`config.yaml` in unique directories.

This issue is probably what caused the flakiness in
[CI](https://github.com/MystenLabs/sui/actions/runs/9897466376/job/27342099106#step:10:2279),
note the:

```
Cannot open wallet config file at "/tmp/client.yaml
```

## Test plan 

Tested locally that running the test creates separate directories and
passes.

---

## Release notes

Check each box that your changes affect. If none of the boxes relate to
your changes, release notes aren't required.

For each box you select, include information after the relevant heading
that describes the impact of your changes that a user might notice and
any actions they must take to implement updates.

- [ ] Protocol: 
- [ ] Nodes (Validators and Full nodes): 
- [ ] Indexer: 
- [ ] JSON-RPC: 
- [ ] GraphQL: 
- [ ] CLI: 
- [ ] Rust SDK:
Assets 2
Loading