-
Notifications
You must be signed in to change notification settings - Fork 36
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
[sdk#740] Rework sandbox #811
[sdk#740] Rework sandbox #811
Conversation
ad0a051
to
458da5f
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.
This looks awesome!
We can merge the PR when fixes for #819 will be landed.
@Bolodya1997 Could you please rebase this? |
7ff4dd0
to
0a5edb3
Compare
55e14e6
to
793f046
Compare
97ac43f
to
eb94474
Compare
Blocker for #823. |
d7af9e2
to
f38fd7c
Compare
ed8822b
to
44edf86
Compare
44edf86
to
8469f30
Compare
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
f3edfb7
to
a6404c7
Compare
a6404c7
to
1fb06f2
Compare
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
1fb06f2
to
64d71ff
Compare
Signed-off-by: Vladimir Popov <vladimir.popov@xored.com>
0cb36d7
to
a36485a
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.
I think we also need to consider semantic simplification of sandbox testing tools to make them more clear for folks but it can be considered in separate PRs.
So merging this.
Sandbox rework for #740. Corresponding heal tests rework.
Changes:
Node.NewNSMgr
sandbox
methods now handle errors inside withrequire.NoError
Builder.SetCustomConfig
- replaces it with extendedBuilder.SetNodeSetup
Domain.resources
- every resource now has a goroutine waiting on the corresponding context.Name
toNSMgrEntry
,EndpointEntry
to enable emulation ofNSMgr
/Forwarder
/Endpoint
restart with same name + URLNode.Forwarder
- forwarder can be accessed after custom creation inBuilder.SetNodeSetup