From 00ef0bfd84dc87a568fcd5c33a716b555e3bb35f Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 28 Jul 2019 17:50:46 -0700 Subject: [PATCH] Use smoke_test for target_session_attrs_ok --- tokio-postgres/tests/test/runtime.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tokio-postgres/tests/test/runtime.rs b/tokio-postgres/tests/test/runtime.rs index a11246a5..cf26d770 100644 --- a/tokio-postgres/tests/test/runtime.rs +++ b/tokio-postgres/tests/test/runtime.rs @@ -49,12 +49,7 @@ async fn wrong_port_count() { #[tokio::test] async fn target_session_attrs_ok() { - let _ = tokio_postgres::connect( - "host=localhost port=5433 user=postgres target_session_attrs=read-write", - NoTls, - ) - .await - .unwrap(); + smoke_test("host=localhost port=5433 user=postgres target_session_attrs=read-write").await; } #[tokio::test]