Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trackrdrd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
trackrdrd
Commits
1c174572
Commit
1c174572
authored
Apr 12, 2017
by
Geoff Simmons
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Filter a backend transaction in the toolong test.
parent
ca302808
Pipeline
#169
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
toolong.sh
src/test/toolong.sh
+5
-2
No files found.
src/test/toolong.sh
View file @
1c174572
...
...
@@ -24,8 +24,11 @@ rm -f $LOG $MSG
# Just filter out the worker thread entries, and the read the last lines
# in which the data read was logged, as well as the error messages.
CKSUM
=
$(
grep
-v
'Worker 1'
$LOG
|
tail
-32
|
cksum
)
if
[
"
$CKSUM
"
!=
'2318467638 2021'
]
;
then
# Transaction 8 (the backend transaction) is filtered due to custom
# patches in the logging API that suppress all backend transaction
# reads when the -c flag is set.
CKSUM
=
$(
grep
-v
'Worker 1'
$LOG
|
grep
-v
'Reader read tx: \[8\]'
|
tail
-31
|
cksum
)
if
[
"
$CKSUM
"
!=
'2418589262 1994'
]
;
then
echo
"ERROR: Too long test incorrect reader log cksum:
$CKSUM
"
exit
1
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment