Skip to content

Commit 6f7d7a7

Browse files
authored
feat(orb-jobs-agent): bump relay-messages; https tests (#1322)
Bump `orb-relay-messages` rev and switch to `https` in tests Tested on the orb + fleetcmdr
1 parent 6aa9340 commit 6f7d7a7

3 files changed

Lines changed: 93 additions & 38 deletions

File tree

Cargo.lock

Lines changed: 85 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

orb-jobs-agent/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,13 @@ rkyv = { workspace = true, features = ["validation"] }
6060

6161
[dependencies.orb-relay-client]
6262
git = "https://github.com/worldcoin/orb-relay-messages.git"
63-
rev = "301889d17fa0c283bdbad8eb2f5659ee5effb40f"
63+
rev = "acd2890125eec6f47e1caa11392c3bc66883a474"
6464

6565
[dependencies.orb-relay-messages]
6666
git = "https://github.com/worldcoin/orb-relay-messages.git"
67-
rev = "301889d17fa0c283bdbad8eb2f5659ee5effb40f"
67+
rev = "acd2890125eec6f47e1caa11392c3bc66883a474"
6868
features = ["client"]
6969

70-
[dependencies.orb-relay-test-utils]
71-
git = "https://github.com/worldcoin/orb-relay-messages.git"
72-
rev = "301889d17fa0c283bdbad8eb2f5659ee5effb40f"
73-
7470
[build-dependencies]
7571
orb-build-info = { workspace = true, features = ["build-script"] }
7672

@@ -85,6 +81,10 @@ tokio = { workspace = true, features = ["sync", "test-util"] }
8581
uuid = { version = "1.17.0", features = ["v4"] }
8682
mockall.workspace = true
8783
portpicker = "0.1.1"
84+
orb-relay-client = { git = "https://github.com/worldcoin/orb-relay-messages.git", rev = "acd2890125eec6f47e1caa11392c3bc66883a474", features = [
85+
"testing",
86+
] }
87+
orb-relay-test-utils = { git = "https://github.com/worldcoin/orb-relay-messages.git", rev = "acd2890125eec6f47e1caa11392c3bc66883a474" }
8888

8989
[package.metadata.deb]
9090
maintainer-scripts = "debian/"

orb-jobs-agent/tests/common/fixture.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,15 @@ impl JobAgentFixture {
160160

161161
clients.send(msg);
162162

163-
Ack { seq }.into_res()
163+
Ack { seq, ..Default::default() }.into_res()
164164
}
165165

166166
_ => None,
167167
}
168168
})
169169
.await;
170170

171-
let relay_host = format!("http://{}", server.addr());
171+
let relay_host = format!("https://{}", server.addr());
172172
let auth = Auth::Token(Default::default());
173173

174174
let opts = ClientOpts::entity(EntityType::Service)

0 commit comments

Comments
 (0)