QA:Testcase MySQL

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
 
{{QA/Test_Case
 
{{QA/Test_Case
|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.
+
|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 {{command |--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=
 
|setup=
 
# Ensure that {{package|mysql-server}}, {{package|mysql}}, {{package|mysql-libs}} packages are installed.
 
# Ensure that {{package|mysql-server}}, {{package|mysql}}, {{package|mysql-libs}} packages are installed.

Latest revision as of 11:55, 13 February 2013

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.