Skip to content

Commit

Permalink
oasis-test-runner: Fix e2e/runtime/runtime-dynamic validator address
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Apr 29, 2020
1 parent ce58b43 commit ba856fb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions go/oasis-test-runner/oasis/ias.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ func (ias *iasProxy) startNode() error {
iasDebugMock().
iasSPID(mockSPID)
if ias.useRegistry {
// XXX: IAS proxy is started before the validators. Pregenerate temp validator internal socket path, if needed.
if ias.net.cfg.UseCustomGrpcSocketPath && ias.net.validators[0].customGrpcSocketPath == "" {
ias.net.validators[0].customGrpcSocketPath = ias.net.genTempSocketPath()
}

args = args.internalSocketAddress(ias.net.validators[0].SocketPath())
} else {
args = args.iasUseGenesis()
Expand Down
1 change: 0 additions & 1 deletion go/oasis-test-runner/scenario/remotesigner/basic.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func (sc *basicImpl) Clone() scenario.Scenario {
}

func (sc *basicImpl) Run(childEnv *env.Env) error {
fmt.Println("matevz: ", childEnv.Dir())
// Provision the server keys.
sc.logger.Info("provisioning the server keys")
if err := cli.RunSubCommand(
Expand Down

0 comments on commit ba856fb

Please sign in to comment.