Skip to content

Commit 2cb59c8

Browse files
authored
fix: fd fixture test (#72)
1 parent b10c649 commit 2cb59c8

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

harness/tests/fd_test_vectors.rs

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ use {
1212
};
1313

1414
const TEST_VECTORS_PATH: &str = "tests/test-vectors";
15-
const TEST_VECTORS_REPOSITORY: &str = "https://github.com/firedancer-io/test-vectors.git";
15+
const TEST_VECTORS_REPOSITORY: &str = "https://github.com/buffalojoec/test-vectors.git";
16+
const TEST_VECTORS_BRANCH: &str = "mollusk-tests";
1617
const TEST_VECTORS_TO_TEST: &[&str] = &[
1718
"instr/fixtures/address-lookup-table",
1819
"instr/fixtures/config",
@@ -25,17 +26,12 @@ fn test_load_firedancer_fixtures() {
2526
let test_vectors_out_dir = Path::new(TEST_VECTORS_PATH);
2627

2728
// Fetch the test vectors.
28-
if test_vectors_out_dir.exists() {
29-
Command::new("git")
30-
.arg("-C")
31-
.arg(test_vectors_out_dir)
32-
.arg("fetch")
33-
.status()
34-
.expect("Failed to execute git pull");
35-
} else {
29+
if !test_vectors_out_dir.exists() {
3630
Command::new("git")
3731
.arg("clone")
3832
.arg("--depth=1")
33+
.arg("--branch")
34+
.arg(TEST_VECTORS_BRANCH)
3935
.arg(TEST_VECTORS_REPOSITORY)
4036
.arg(test_vectors_out_dir)
4137
.status()

0 commit comments

Comments
 (0)