-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows compatiblity #1516
Windows compatiblity #1516
Conversation
5948716
to
91bf5f0
Compare
91bf5f0
to
d14f5a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{ nsSubscriptionTracer | ||
, nsMuxTracer | ||
, nsHandshakeTracer | ||
, nsErrorPolicyTracer |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In cardano-sl
's style the prefix would be nst
not ns. But I'm not sure we have any rules for this in ourboros-network
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know, but we already have nst
prefix in NetworkServerTracers
:/
Yes, once snockets are merged they can be used in |
c0c6e09
to
11ef1c7
Compare
bfc1efe
to
565bb29
Compare
Fixed :) |
Run pipe tests on windows using `pipeChannelFromNamedPipe` This patch makes test-network buildable again and enables pipes tests on Windows.
This allows to connect to the diffusion layer using unix socket or named pipe. Currently we don't support local clients connected using a tcp socket, but this could be easily added in the future.
This only allows to connect to a node using a unix socket or a named pipe.
A subscription worker which works over ClientSnocket. It is integrated into data diffusion `Ouroboros.Network.Diffusion`. * `ouroboros-network` - compiler and runs all its tests on Windows. * `ouroboros-consensus` - windows support is tracked in #1082
This is useful for running all tests on windows. Currently it does not include `ouroboros-consensus` tests, since `ouroboros-consensus` does not compile on windows.
565bb29
to
2f81dec
Compare
I merged this into #1499 - so I have less PRs to re-base. |
1552: windows vectored io for sockets r=coot a=coot Currently this PR is opened to merge into `coot/windows-api`, but after #1516 is merged it will be re-targeted to `master` - it's just to make the diff adequate. This PR provides vectored IO for sockets, vectored IO for file handles will be done at a later stage. It also includes documentation overview, which will be useful for other teams (`cardano-wallet` or `cardano-launcher`). Co-authored-by: Marcin Szamotulski <[email protected]>
This PR includes three things:
ErrorPolicies
by removing callback which classifies return values of error policiesclientSubscriptionWorker
which subscribes to a unix socket or named pipe on windows. It is a simplified version ofipSubscriptionWorker
../scripts/test.sh
- a script to run tests on widnows - all are green 🎉 😎It depends on #1499 - which needs to be merge first, it addresses #1501.