Compare commits

...

3 Commits

Author SHA1 Message Date
EvgeniyPatlan
f61cfe0d53 Fix build 2024-06-04 07:15:36 +02:00
Sveta Smirnova
03fd59acfe Make t/lib/bash/collect.t more stable 2024-06-03 01:50:10 +03:00
Sveta Smirnova
a68eb084d6 Adjusted t/pt-table-checksum/samples/default-results-5.7.txt to skip unstable results 2024-05-30 20:55:40 +03:00
3 changed files with 9 additions and 8 deletions

View File

@@ -155,11 +155,11 @@ get_system(){
}
install_go() {
wget --no-check-certificate http://jenkins.percona.com/downloads/golang/go1.9.4.linux-amd64.tar.gz -O /tmp/golang1.9.4.tar.gz
tar --transform=s,go,go1.9, -zxf /tmp/golang1.9.4.tar.gz
rm -rf /usr/local/go /usr/local/go1.8 /usr/local/go1.9
mv go1.9 /usr/local/
ln -s /usr/local/go1.9 /usr/local/go
#wget --no-check-certificate http://jenkins.percona.com/downloads/golang/go1.9.4.linux-amd64.tar.gz -O /tmp/golang1.9.4.tar.gz
#tar --transform=s,go,go1.9, -zxf /tmp/golang1.9.4.tar.gz
#rm -rf /usr/local/go /usr/local/go1.8 /usr/local/go1.9
#mv go1.9 /usr/local/
#ln -s /usr/local/go1.9 /usr/local/go
GO_VERSION=1.21.5
wget --progress=dot:giga https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz -O /tmp/golang.tar.gz
tar -C /usr/local -xzf /tmp/golang.tar.gz

View File

@@ -39,11 +39,12 @@ ls -1 $PT_TMPDIR/collect | sort > $PT_TMPDIR/collect-files
# If this system has /proc, then some files should be collected.
# Else, those files should not exist.
if [ -f /proc/diskstats ]; then
wait_for_files "$p-diskstats"
cmd_ok \
"grep -q '[0-9]' $PT_TMPDIR/collect/2011_12_05-diskstats" \
"grep -q '[0-9]' $p-diskstats" \
"/proc/diskstats"
else
test -f $PT_TMPDIR/collect/2011_12_05-diskstats
test -f $PT_TMPDIR/collect/$p-diskstats
is "$?" "1" "No /proc/diskstats"
fi
@@ -75,6 +76,7 @@ cmd_ok \
"Finds MySQL error log"
if [ "$(which lsof 2>/dev/null)" ]; then
wait_for_files "$p-lsof"
cmd_ok \
"grep -q 'COMMAND[ ]\+PID[ ]\+USER' $p-lsof" \
"lsof"

View File

@@ -10,7 +10,6 @@ ERRORS DIFFS ROWS SKIPPED TABLE
0 0 908 0 mysql.help_keyword
0 0 1803 0 mysql.help_relation
0 0 659 0 mysql.help_topic
0 0 0 0 mysql.ndb_binlog_index
0 0 0 0 mysql.plugin
0 0 0 0 mysql.proc
0 0 0 0 mysql.procs_priv