Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Jun 25, 2024
1 parent 20285ab commit 5c8adf8
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions operator/src/network/controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4708,7 +4708,18 @@ mod tests {
ceramic: Some(vec![CeramicSpec {
ipfs: Some(IpfsSpec::Rust(RustIpfsSpec {
migration_cmd: Some(
"from-ipfs -i /data/ipfs/blocks -o /data/ipfs/db.sqlite3 --network dev-unstable".to_string(),
vec![
"from-ipfs",
"-i",
"/data/ipfs/blocks",
"-o",
"/data/ipfs/",
"--network",
"dev-unstable",
]
.into_iter()
.map(ToOwned::to_owned)
.collect(),
),
..Default::default()
})),
Expand All @@ -4734,7 +4745,7 @@ mod tests {
+ "-i",
+ "/data/ipfs/blocks",
+ "-o",
+ "/data/ipfs/db.sqlite3",
+ "/data/ipfs/",
+ "--network",
+ "dev-unstable"
+ ],
Expand Down Expand Up @@ -4778,7 +4789,7 @@ mod tests {
+ ],
+ "image": "public.ecr.aws/r5b3e0r5/3box/ceramic-one:latest",
+ "imagePullPolicy": "Always",
+ "name": "ipfs",
+ "name": "ipfs-migration",
+ "ports": [
+ {
+ "containerPort": 4001,
Expand Down

0 comments on commit 5c8adf8

Please sign in to comment.