QA:Testcase MySQL

From FedoraProject

Jump to: navigation, search

Contents

Description

This test case tests MySQL database server using upstream test suite. Some tests are known to fail on one or more architectures and users can skip them using --skip-test-list option. Those tests are listed in rh-skipped-tests.list and documentation about the reasons for omitting such tests can be found in that file.

Setup

  1. Ensure that Package-x-generic-16.pngmysql-server, Package-x-generic-16.pngmysql, Package-x-generic-16.pngmysql-libs packages are installed.

How to test

  1. Switch to root user: su -
  2. Install MySQL test suite: yum -y install mysql-test
  3. Start MySQL server: service mysqld start
  4. Go to the mysql-test directory: cd /usr/share/mysql-test/
  5. Run MySQL test suite under mysql user: sudo -u mysql ./mysql-test-run --skip-test-list rh-skipped-tests.list
  6. Wait until the tests finish.

Expected Results

  1. The test-suite should finish without error, some tests might be disabled or skipped.