Skip to content

Commit

Permalink
fixed timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
KaranGauswami committed Sep 13, 2023
1 parent 031d6f3 commit 23bb3b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pub enum EslError {
ConnectionError(String),

#[error("{0:?}")]
ApiError(String)
ApiError(String),

#[error("")]
CodeParseError(),
Expand Down
3 changes: 2 additions & 1 deletion tests/inbound.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ async fn concurrent_bgapi() -> core::result::Result<(), EslError> {
#[tokio::test]
#[timeout(30000)]
async fn connected_status() -> Result<()> {
let (_, addr) = mock_test_server().await?;
// let (_, addr) = mock_test_server().await?;
let addr = "localhost:8021";
let inbound = Esl::inbound(addr, "ClueCon").await?;
assert!(inbound.connected());
Ok(())
Expand Down

0 comments on commit 23bb3b8

Please sign in to comment.