Skip to content

Commit

Permalink
oasis-test-runner: Enable client node registration
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Sep 26, 2024
1 parent e552937 commit 40179db
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions go/oasis-test-runner/oasis/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ func (client *Client) ModifyConfig() error {

client.Config.P2P.Port = client.p2pPort

if !client.entity.isDebugTestEntity {
entityID, _ := client.entity.ID().MarshalText() // Cannot fail.
client.Config.Registration.EntityID = string(entityID)
}

if len(client.runtimes) > 0 {
client.Config.Mode = config.ModeClient
client.Config.Runtime.Provisioner = client.runtimeProvisioner
Expand Down

0 comments on commit 40179db

Please sign in to comment.