Skip to content

Commit 00ef0bf

Browse files
committed
Use smoke_test for target_session_attrs_ok
1 parent dea6c3e commit 00ef0bf

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tokio-postgres/tests/test/runtime.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,7 @@ async fn wrong_port_count() {
4949

5050
#[tokio::test]
5151
async fn target_session_attrs_ok() {
52-
let _ = tokio_postgres::connect(
53-
"host=localhost port=5433 user=postgres target_session_attrs=read-write",
54-
NoTls,
55-
)
56-
.await
57-
.unwrap();
52+
smoke_test("host=localhost port=5433 user=postgres target_session_attrs=read-write").await;
5853
}
5954

6055
#[tokio::test]

0 commit comments

Comments
 (0)