We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f09419 commit 1230326Copy full SHA for 1230326
1 file changed
tests/oidc/mod.rs
@@ -203,19 +203,6 @@ impl FakeOidcProvider {
203
204
tokio::spawn(server);
205
206
- let client = awc::Client::default();
207
- let start = std::time::Instant::now();
208
- loop {
209
- if start.elapsed() > std::time::Duration::from_secs(5) {
210
- panic!("Fake OIDC provider did not become ready");
211
- }
212
- let discovery_url = format!("{issuer_url}/.well-known/openid-configuration");
213
- if client.get(&discovery_url).send().await.is_ok() {
214
- break;
215
216
- tokio::time::sleep(tokio::time::Duration::from_millis(50)).await;
217
218
-
219
Self {
220
issuer_url,
221
client_id,
0 commit comments