• Daniel Black's avatar
    MDEV-12474: rocksdb: mtr - rocksdb.concurrent_alter use sh · 186d9d0d
    Daniel Black authored
    FreeBSD doesn't have bash installed by default and sh
    has sufficient job control for this test.
    
    $  mysql-test/mtr --mem --max-test-fail=30 --force --parallel=1 rocksdb.concurrent_alter
    Logging: /home/dan/mariadb-server-10.5/mysql-test/mysql-test-run.pl  --mem --max-test-fail=30 --force --parallel=1 rocksdb.concurrent_alter
    vardir: /usr/home/dan/build-mariadb-server-10.5/mysql-test/var
    Checking leftover processes...
    Removing old var directory...
    Creating var directory '/usr/home/dan/build-mariadb-server-10.5/mysql-test/var'...
     - symlinking 'var' to '/tmp/var_auto_P81m'
    Checking supported features...
    MariaDB Version 10.5.4-MariaDB
     - SSL connections supported
    
     - binaries built with wsrep patch
    Collecting tests...
    Installing system database...
    
    ==============================================================================
    
    TEST                                      RESULT   TIME (ms) or COMMENT
    --------------------------------------------------------------------------
    
    worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 16000..16019
    rocksdb.concurrent_alter 'write_committed' [ pass ]  16348
    rocksdb.concurrent_alter 'write_prepared' [ pass ]  16771
    --------------------------------------------------------------------------
    The servers were restarted 1 times
    Spent 33.119 of 41 seconds executing testcases
    
    Completed: All 2 tests were successful.
    
    $ uname -a
    FreeBSD freebsd 12.1-RELEASE-p6 FreeBSD 12.1-RELEASE-p6 GENERIC  amd64
    186d9d0d
concurrent_alter.test 1.3 KB