-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KS-285] Update DON struct; pass through DON Config Version (#13739)
* Convert donID string -> uint32 to match capabilities registry * Fix launcher tests * Pass through ConfigVersion * Update tests * bump common
- Loading branch information
1 parent
2ecf45d
commit 0efeed6
Showing
32 changed files
with
192 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,7 +130,7 @@ func testClient(ctx context.Context, t *testing.T, numWorkflowPeers int, workflo | |
} | ||
|
||
capDonInfo := commoncap.DON{ | ||
ID: "capability-don", | ||
ID: 1, | ||
Members: capabilityPeers, | ||
F: capabilityDonF, | ||
} | ||
|
@@ -149,7 +149,7 @@ func testClient(ctx context.Context, t *testing.T, numWorkflowPeers int, workflo | |
|
||
workflowDonInfo := commoncap.DON{ | ||
Members: workflowPeers, | ||
ID: "workflow-don", | ||
ID: 2, | ||
} | ||
|
||
broker := newTestAsyncMessageBroker(t, 100) | ||
|
@@ -259,7 +259,7 @@ func (t *clientTestServer) Receive(_ context.Context, msg *remotetypes.MessageBo | |
for receiver := range t.messageIDToSenders[messageID] { | ||
var responseMsg = &remotetypes.MessageBody{ | ||
CapabilityId: "[email protected]", | ||
CapabilityDonId: "capability-don", | ||
CapabilityDonId: 1, | ||
CallerDonId: t.workflowDonInfo.ID, | ||
Method: remotetypes.MethodExecute, | ||
MessageId: []byte(messageID), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.