Skip to content

Commit

Permalink
Watcher (unitests)
Browse files Browse the repository at this point in the history
- Renamed
  • Loading branch information
deavmi committed Nov 26, 2023
1 parent 8ac7a54 commit 815e411
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/tristanable/manager/watcher.d
Expand Up @@ -308,15 +308,15 @@ unittest
}

/**
* Setup a server which dies (kills its connection to us)
* midway whilst we are doing a `dequeue()`
* Setup a `Manager` and then block on a `dequeue()`
* but from another thread shutdown the `Manager`.
*
* This is to test the exception triggering mechanism
* for such a case
*/
unittest
{
writeln("<<<<< Test 4 start >>>>>");
writeln("<<<<< Test 3 start >>>>>");

Address serverAddress = parseAddress("::1", 0);
Socket server = new Socket(AddressFamily.INET6, SocketType.STREAM, ProtocolType.TCP);
Expand Down Expand Up @@ -424,15 +424,15 @@ unittest
}

/**
* Setup a `Manager` and then block on a `dequeue()`
* but from another thread shutdown the `Manager`.
* Setup a server which dies (kills its connection to us)
* midway whilst we are doing a `dequeue()`
*
* This is to test the exception triggering mechanism
* for such a case
*/
unittest
{
writeln("<<<<< Test 3 start >>>>>");
writeln("<<<<< Test 4 start >>>>>");

Address serverAddress = parseAddress("::1", 0);
Socket server = new Socket(AddressFamily.INET6, SocketType.STREAM, ProtocolType.TCP);
Expand Down

0 comments on commit 815e411

Please sign in to comment.