Skip to content

Commit

Permalink
Use centralized serializer template
Browse files Browse the repository at this point in the history
  • Loading branch information
criminosis committed Nov 13, 2024
1 parent f54ea77 commit 85a58f1
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions gremlin-client/tests/integration_traversal_async.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ mod aio {

use serial_test::serial;

use gremlin_client::{aio::GremlinClient, process::traversal::traversal};
use gremlin_client::process::traversal::traversal;

use crate::common;

use super::common::aio::{connect_serializer, create_vertex_with_label, drop_vertices};

Expand All @@ -19,19 +21,12 @@ mod aio {

use gremlin_client::{IoProtocol, Vertex};

#[rstest]
#[case::graphson_v2(connect_serializer(IoProtocol::GraphSONV2))]
#[case::graphson_v3(connect_serializer(IoProtocol::GraphSONV3))]
#[case::graph_binary_v1(connect_serializer(IoProtocol::GraphBinaryV1))]
#[awt]
#[apply(common::serializers)]
#[cfg_attr(feature = "async-std-runtime", async_std::test)]
#[cfg_attr(feature = "tokio-runtime", tokio::test)]
#[serial(test_simple_vertex_traversal_with_multiple_id)]
async fn test_simple_vertex_traversal_with_multiple_id(
#[future]
#[case]
client: GremlinClient,
) {
async fn test_simple_vertex_traversal_with_multiple_id(protocol: IoProtocol) {
let client = connect_serializer(protocol).await;
drop_vertices(&client, "test_simple_vertex_traversal_async")
.await
.unwrap();
Expand Down

0 comments on commit 85a58f1

Please sign in to comment.