| 123456789101112131415161718192021 |
- use std::net::SocketAddr;
-
- use async_tungstenite::accept_async;
- use async_tungstenite::tokio::TokioAdapter;
- use futures::SinkExt;
- use log::*;
- use tokio::net::{TcpListener, TcpStream};
- use tokio::stream::StreamExt;
-
- use twfss::network::integration_test::{rpc_integration_test_client, RpcIntegrationTestServer};
-
- #[tokio::test]
- async fn test_rpc() {
- /*const ADDRESS: &str = "localhost:12345";
- let server = RpcIntegrationTestServer::start(ADDRESS).await;
-
- // TODO: Error handling, usable asserts.
- rpc_integration_test_client(&ADDRESS).await;
-
- server.stop().await;*/
- }
|