Skip to content

Commit

Permalink
cli/interactive_tests: make test_sql_mem_monitor more portable
Browse files Browse the repository at this point in the history
Release note: None
  • Loading branch information
knz committed Jun 6, 2020
1 parent 22641d3 commit 5ce39f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cli/interactive_tests/test_sql_mem_monitor.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ start_server $argv
system "echo 'select * from system.information_schema.columns;' | $argv sql >/dev/null"

# What memory is currently consumed by the server?
set vmem [ exec ps --no-headers o vsz -p [ exec cat server_pid ] ]
set vmem [ exec ps -o vsz= -p [ exec cat server_pid ] ]

# Now play. First, shut down the running server.
stop_server $argv
Expand Down

0 comments on commit 5ce39f5

Please sign in to comment.