mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
ci: fix rust ci (#4861)
This commit is contained in:
parent
ddd4ba8287
commit
4b5195d891
2
.github/workflows/rust_ci.yaml
vendored
2
.github/workflows/rust_ci.yaml
vendored
@ -91,7 +91,7 @@ jobs:
|
|||||||
RUST_LOG: info
|
RUST_LOG: info
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
af_cloud_test_base_url: http://localhost
|
af_cloud_test_base_url: http://localhost
|
||||||
af_cloud_test_ws_url: ws://localhost/ws
|
af_cloud_test_ws_url: ws://localhost/ws/v1
|
||||||
af_cloud_test_gotrue_url: http://localhost/gotrue
|
af_cloud_test_gotrue_url: http://localhost/gotrue
|
||||||
run: cargo test --no-default-features --features="rev-sqlite,dart" -- --nocapture
|
run: cargo test --no-default-features --features="rev-sqlite,dart" -- --nocapture
|
||||||
|
|
||||||
|
@ -259,7 +259,7 @@ fn spawn_ws_conn(
|
|||||||
tokio::time::sleep(Duration::from_secs(2)).await;
|
tokio::time::sleep(Duration::from_secs(2)).await;
|
||||||
|
|
||||||
event!(tracing::Level::INFO, "🟢reconnecting websocket");
|
event!(tracing::Level::INFO, "🟢reconnecting websocket");
|
||||||
let _ = ws_client.connect(&api_client.ws_addr(), conn_info).await;
|
let _ = ws_client.connect(api_client.ws_addr(), conn_info).await;
|
||||||
},
|
},
|
||||||
Err(err) => error!("Failed to get ws url: {}, connect state:{:?}", err, state),
|
Err(err) => error!("Failed to get ws url: {}, connect state:{:?}", err, state),
|
||||||
}
|
}
|
||||||
@ -291,7 +291,7 @@ fn spawn_ws_conn(
|
|||||||
{
|
{
|
||||||
match api_client.ws_connect_info().await {
|
match api_client.ws_connect_info().await {
|
||||||
Ok(conn_info) => {
|
Ok(conn_info) => {
|
||||||
let _ = ws_client.connect(&api_client.ws_addr(), conn_info).await;
|
let _ = ws_client.connect(api_client.ws_addr(), conn_info).await;
|
||||||
},
|
},
|
||||||
Err(err) => error!("Failed to get ws url: {}", err),
|
Err(err) => error!("Failed to get ws url: {}", err),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user