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

Update L0_trace for DLIS-6462 #7134

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 1 addition & 5 deletions qa/L0_trace/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,12 @@ set +e
# Add trace setting for 'simple' via trace API, first use the same trace file
update_trace_setting "simple" '{"trace_file":"global_trace.log"}'
assert_curl_failure "trace_file updated through network protocol expects an error"
#TODO: Test Get-Response (trace_mode, ..) when trace_file update is added in the future.

# Check if the current setting is returned (not specified setting from global)
if [ `grep -c "\"error\":\"trace file location can not be updated through network protocol\"" ./curl.out` != "1" ]; then
RET=1
fi
if [ `grep -c "\"trace_mode\":\"triton\"" ./curl.out` != "1" ]; then
indrajit96 marked this conversation as resolved.
Show resolved Hide resolved
RET=1
fi

# Use a different name
update_trace_setting "simple" '{"log_frequency":"2"}'
Expand Down Expand Up @@ -564,8 +562,6 @@ if [ "$SERVER_PID" == "0" ]; then
exit 1
fi

RET=0

set +e

python $CLIENT_TEST >>$CLIENT_LOG 2>&1
Expand Down
Loading