Skip to content

Commit

Permalink
Align shutdown message (#1041)
Browse files Browse the repository at this point in the history
* Update command-mcis script output

* Align shutdown message
  • Loading branch information
seokho-son authored Mar 22, 2022
1 parent 5b97ff3 commit 1c248ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api/grpc/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func RunServer() {
// Block until a signal is triggered
<-gracefulShutdownContext.Done()

fmt.Println("\nstop gRPC server")
fmt.Println("\n[Stop] CB-Tumblebug gRPC Server")
gs.GracefulStop()
}()

Expand Down
2 changes: 1 addition & 1 deletion src/api/rest/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func RunServer(port string) {
// Block until a signal is triggered
<-gracefulShutdownContext.Done()

fmt.Println("\nshutdown REST server after 3 sec")
fmt.Println("\n[Stop] CB-Tumblebug REST Server")
ctx, cancel := context.WithTimeout(context.TODO(), 3*time.Second)
defer cancel()

Expand Down
3 changes: 3 additions & 0 deletions src/testclient/scripts/sequentialFullTest/command-mcis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ source ../init.sh
USERCMD=$OPTION01
VMID=$OPTION02


if [ -z "$USERCMD" ]; then
USERCMD="echo -n [Hostname: ; hostname ; echo -n ]"
fi

echo $USERCMD

if [ -z "$VMID" ]; then

VAR1=$(
Expand Down

0 comments on commit 1c248ae

Please sign in to comment.