Skip to content

Commit 3441f2d

Browse files
0x4ka5hAkash Thota
andauthored
fix: add --use-rpc flag to fix flaky bpf-upgradeable-state test (solana-foundation#4164)
* fix: flacky test bpf_upgradeable_state * fix: interface-account dependecny error * fix: interface-account dependecny error --------- Co-authored-by: Akash Thota <Otter-0x4ka5h@osec.io>
1 parent e44f8f2 commit 3441f2d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/reusable-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ jobs:
284284
- run: cd tests/bpf-upgradeable-state && yarn --frozen-lockfile
285285
- run: cd tests/bpf-upgradeable-state
286286
- run: cd tests/bpf-upgradeable-state && anchor build --skip-lint --ignore-keys
287-
- run: cd tests/bpf-upgradeable-state && solana program deploy --program-id program_with_different_programdata.json target/deploy/bpf_upgradeable_state.so
287+
- run: cd tests/bpf-upgradeable-state && solana program deploy --program-id program_with_different_programdata.json --use-rpc target/deploy/bpf_upgradeable_state.so
288288
- run: cd tests/bpf-upgradeable-state && cp bpf_upgradeable_state-keypair.json target/deploy/bpf_upgradeable_state-keypair.json && anchor test --skip-local-validator --skip-build --skip-lint
289289
- run: cd tests/bpf-upgradeable-state && npx tsc --noEmit
290290
- uses: ./.github/actions/git-diff/

tests/interface-account/tests/interface-account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as anchor from "@coral-xyz/anchor";
1+
import * as anchor from "@anchor-lang/core";
22
import assert from "assert";
33

44
import type { InterfaceAccount } from "../target/types/interface_account";

0 commit comments

Comments
 (0)