Tag - Reducer.sh

MySQL QA Episode 8: Reducing Testcases for Engineers: tuning reducer.sh

Welcome to MySQL QA Episode 8: Reducing Testcases for Engineers: tuning reducer.sh

Advanced configurable variables & their default/vanilla reducer.sh settings

FORCE_SKIPV
FORCE_SPORADIC
TIMEOUT_COMMAND & TIMEOUT_CHECK
MULTI_THREADS
MULTI_THREADS_INCREASE
QUERYTIMEOUT
STAGE1_LINES
SKIPSTAGE
FORCE_KILL

Some examples

FORCE_SKIPV/FORCE_SPORADIC
TIMEOUT_COMMAND/TIMEOUT_CHECK

Full-screen viewing @ 720p resolution recommended.

Read more

MySQL QA Episode 7: Reducing Testcases for Beginners – single-threaded reducer.sh!

Welcome to MySQL QA Episode #7 – Reducing Testcases for Beginners: single-threaded reducer.sh!
In this episode we’ll learn how to use reducer.sh. Topics discussed;

reducer.sh introduction/concepts
Basic configurable variables & their default reducer.sh settings

INPUTFILE options
MODE=x
TEXT=”text”
WORKDIR_LOCATION & WORKDIR_M3_DIRECTORY
MYEXTRA
MYBASE
PQUERY_MOD & PQUERY_LOC
MODE5_COUNTTEXT, MODE5_ADDITIONAL_TEXT & MODE5_ADDITIONAL_COUNTTEXT
How to learn more about each of the settings

Manual example
Introduction to the script’s self-recursion concept – subreducer
Quick […]

Read more

MySQL QA Episode 4: QA Framework Setup Time!

Welcome to MySQL QA Episode 4! In this episode we’ll look into setting up our QA Framework: percona-qa, pquery, reducer & more.
1. All about percona-qa
2. pquery

Shell

$ cd ~; bzr branch lp:percona-qa

1

$ cd ~; bzr branch lp:percona-qa

3. reducer.sh

Shell

$ cd ~; bzr branch lp:randgen
$ vi ~/randgen/util/reducer/reducer.sh

12

$ cd ~; bzr branch lp:randgen$ vi ~/randgen/util/reducer/reducer.sh

4. Short introduction to pquery […]

Read more

Reducer.sh – A powerful MySQL test-case simplification/reducer tool

Let me start by saying a big “thank you” to the staff at Oracle for deciding to open source reducer.sh. It’s a tool I developed whilst I was working for them several years ago. Its sole purpose is to do one thing – but do it good: test-case simplification.
So, let’s say some customer just […]

Read more