-
Notifications
You must be signed in to change notification settings - Fork 9
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
Draft: Port: Add UnknownActivityAborted session #98
base: dev
Are you sure you want to change the base?
Conversation
Session context struct avoids changes on previos sequence
Port Session context struct avoids changes on previos sequence to MORYX 6
…tion Replace deprecated github action
The new type is a session-wrapper for activities that should be aborted, but for which the session is unknown for a cell. It can be created and uses a new session context.
/// <param name="unknown"></param> | ||
public static UnknownActivityAborted WrapUnknownActivity(IActivity unknown) | ||
{ | ||
unknown.Fail(); |
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.
Why is the unknown activity failed here and also in the UnknownActivityAborted constructor?
@@ -46,10 +46,11 @@ public void TestCreateActivityStart() | |||
{ | |||
var readyToWork = Session.StartSession(ActivityClassification.Production, ReadyToWorkType.Pull, 4242); | |||
|
|||
var activityStart = readyToWork.StartActivity(new DummyActivity { Process = new Process() }); | |||
var activityStart = readyToWork.StartActivity(new DummyActivity { Process = new Process { Id = 4242 } }); |
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.
Why this change and is the UnknownActivityAborted
tested somewhere?
Ports: #95