Fix the script to check flaky test schedules
The regex used in the script was too strict. Relax the regex so as to
match 'select distinct gp_inject_fault(...);'. The script may be
invoked against a directory, such as src/test/fsync, which may not
contain any schedule files. This no longer results in an error. When
invoked against isolation directory, it should scan tests under
'specs' subdir. Not all of input, sql and specs subdirs exist always,
so add a '-s' option to grep to mask errors reporting non-existance.
Co-authored-by: NHao Wu <gfphoenix78@gmail.com>
Showing
想要评论请 注册 或 登录