Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align shutdown message #1041

Merged
merged 2 commits into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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