Skip to content

Commit ecb6596

Browse files
committed
Disable router build and tests
The tests are flaky. But really, we don't need the router at all. MySQL's deb and rpm builds don't build the router. Our Vitess containers don't have mysqlrouter installed. Let's speed up the builds and stablize the tests by just excluding it.
1 parent 5380086 commit ecb6596

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ cmake \
3636
-DWITH_INNODB_MEMCACHED=1 \
3737
-DWITH_MECAB=system \
3838
-DWITH_NUMA=ON \
39+
-DWITH_ROUTER=OFF \
3940
..
4041

4142
make -j $(nproc)
4243

43-
DISABLE_IPV6_TESTS=1 DISABLE_TMPFILE_TESTS=1 make test ARGS="-j $(nproc) -VV"
44+
DISABLE_IPV6_TESTS=1 DISABLE_TMPFILE_TESTS=1 make test ARGS="-j $(nproc) -E ^routertest -VV"
4445

4546
strip -g runtime_output_directory/mysql*
4647

0 commit comments

Comments
 (0)