Skip to content

Commit e8f003a

Browse files
committed
stacks-fmt
1 parent 154ffba commit e8f003a

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

testnet/stacks-node/src/event_dispatcher.rs

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2059,7 +2059,10 @@ mod test {
20592059
let url = &format!("{}/api", &server.url());
20602060

20612061
// Ensure retrying is enabled on the test (as other tests will run in parallel)
2062-
TEST_EVENT_OBSERVER_SKIP_RETRY.lock().unwrap().replace(false);
2062+
TEST_EVENT_OBSERVER_SKIP_RETRY
2063+
.lock()
2064+
.unwrap()
2065+
.replace(false);
20632066

20642067
// Insert payload
20652068
EventObserver::insert_payload(&conn, url, &payload, timeout)
@@ -2133,7 +2136,10 @@ mod test {
21332136
let observer = EventObserver::new(Some(working_dir.clone()), endpoint, timeout);
21342137

21352138
// Ensure retrying is enabled on the test (as other tests will run in parallel)
2136-
TEST_EVENT_OBSERVER_SKIP_RETRY.lock().unwrap().replace(false);
2139+
TEST_EVENT_OBSERVER_SKIP_RETRY
2140+
.lock()
2141+
.unwrap()
2142+
.replace(false);
21372143

21382144
// Call send_payload
21392145
observer.send_payload(&payload, "/test");

0 commit comments

Comments
 (0)