Skip to content

Commit

Permalink
Added work-around to handle the Docker configuration issue moby/moby#…
Browse files Browse the repository at this point in the history
…48274. (#1477)

Network and FSM logging turned on for Gowaves node during integration tests.
  • Loading branch information
alexeykiselev authored Aug 29, 2024
1 parent c43de57 commit 47290c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions Dockerfile.gowaves-it
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ CMD /app/node \
-build-state-hashes \
-serve-extended-api \
-log-level=debug \
-log-network \
-log-fsm \
-obsolescence=1h \
-reward=$DESIRED_REWARD \
-vote=$SUPPORTED_FEATURES \
Expand Down
12 changes: 6 additions & 6 deletions itests/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ func (d *Docker) runGoNode(ctx context.Context, cfgPath string, suiteName string
"SUPPORTED_FEATURES=" + supportedFeatures,
},
ExposedPorts: []string{
GrpcApiPort,
RESTApiPort,
BindPort,
GrpcApiPort + "/tcp",
RESTApiPort + "/tcp",
BindPort + "/tcp",
},
Mounts: []string{
cfgPath + ":/home/gowaves/config",
Expand Down Expand Up @@ -311,9 +311,9 @@ func (d *Docker) runScalaNode(ctx context.Context, cfgPath string, suiteName str
"-Dwaves.network.enable-blacklisting=no",
},
ExposedPorts: []string{
GrpcApiPort,
RESTApiPort,
BindPort,
GrpcApiPort + "/tcp",
RESTApiPort + "/tcp",
BindPort + "/tcp",
},
Networks: []*dockertest.Network{d.network},
}
Expand Down

0 comments on commit 47290c0

Please sign in to comment.