Skip to content

Commit

Permalink
Use local server for test
Browse files Browse the repository at this point in the history
  • Loading branch information
caspervonb committed Jan 4, 2023
1 parent ab1a21c commit 7abbe56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion async-nats/tests/tls_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ mod client {

#[tokio::test]
async fn tls_with_native_certs() {
let s = nats_server::run_server("tests/configs/tls.conf");
let client = async_nats::ConnectOptions::new()
.require_tls(true)
.connect("tls://demo.nats.io")
.connect(&s.client_url())
.await
.unwrap();

Expand Down

0 comments on commit 7abbe56

Please sign in to comment.