diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-05-03 11:13:36 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-05-03 11:13:36 -0700 |
| commit | fa986e725f08e30eab68e16765b2cf71613b871c (patch) | |
| tree | 87fb23b042a3103d7a8921b3c533f7e7c3e02a59 /tests/ipc.c | |
| parent | 159dc95695515db767e208c41d5f44b334b71adc (diff) | |
| download | nng-fa986e725f08e30eab68e16765b2cf71613b871c.tar.gz nng-fa986e725f08e30eab68e16765b2cf71613b871c.tar.bz2 nng-fa986e725f08e30eab68e16765b2cf71613b871c.zip | |
Fix failures in pipe test on Windows.
The problem was that with inproc we could wind up calling the
completion callback before actually returning the dialer ID
to the structure, leading to false comparison failures.
Creating the dialer and listener in separate steps ensures that
we have IDs in place for them before any callback might be issued.
Note that this was a bug in the test logic only, and not a problem
with the underlying implementation.
Diffstat (limited to 'tests/ipc.c')
0 files changed, 0 insertions, 0 deletions
