Update Github CI configuration
This commit is contained in:
@@ -17,7 +17,7 @@ fn setup_server(settings: &Settings) -> String {
|
||||
let listener = TcpListener::bind("127.0.0.1:0").expect("Failed to bind random port");
|
||||
let port = listener.local_addr().unwrap().port();
|
||||
|
||||
let server = contextswitch_api::run(listener, &settings).expect("Failed to bind address");
|
||||
let server = contextswitch_api::run(listener, settings).expect("Failed to bind address");
|
||||
let _ = tokio::spawn(server);
|
||||
format!("http://127.0.0.1:{}", port)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user