Skip to content

Commit 2e6e54f

Browse files
Merge pull request #694 from frankmcsherry/deflake_capture_tests
Deflake tests by avoiding port conflict
2 parents 54f4150 + 7182e28 commit 2e6e54f

File tree

1 file changed

+2
-2
lines changed
  • timely/src/dataflow/operators/core/capture

1 file changed

+2
-2
lines changed

timely/src/dataflow/operators/core/capture/capture.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ pub trait Capture<T: Timestamp, C: Container + Data> {
8585
/// let send0 = send0.lock().unwrap().clone();
8686
///
8787
/// // these allow us to capture / replay a timely stream.
88-
/// let list = TcpListener::bind("127.0.0.1:8000").unwrap();
89-
/// let send = TcpStream::connect("127.0.0.1:8000").unwrap();
88+
/// let list = TcpListener::bind("127.0.0.1:8001").unwrap();
89+
/// let send = TcpStream::connect("127.0.0.1:8001").unwrap();
9090
/// let recv = list.incoming().next().unwrap().unwrap();
9191
///
9292
/// recv.set_nonblocking(true).unwrap();

0 commit comments

Comments
 (0)