Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erikreppel committed Apr 26, 2024
1 parent 8da6369 commit 0d70cee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,7 @@ mod test {
use alloy_primitives::Address;
use chrono::{Duration, Utc};
use sqlx::Row;
use std::ops::Sub;

use crate::config::Config;
use crate::premints::zora_premint_v2::types::ZoraPremintV2;
Expand All @@ -335,8 +336,6 @@ mod test {
use crate::types::{InclusionClaim, Premint, PremintTypes};

#[tokio::test]
use chrono::{Duration, Utc};
use std::ops::Sub;
async fn test_insert_and_get() {
let config = Config::test_default();

Expand Down
2 changes: 1 addition & 1 deletion tests/p2p_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async fn test_max_connections() {
let num_nodes = 5;
let limit = 3;

let nodes = mintpool_build::make_nodes(2350, num_nodes, limit).await;
let nodes = mintpool_build::make_nodes(2310, num_nodes, limit).await;
mintpool_build::connect_all_to_first(nodes.clone()).await;

mintpool_build::announce_all(nodes.clone()).await;
Expand Down

0 comments on commit 0d70cee

Please sign in to comment.