MySQL是怎么保证产品质量的?

How to guarantee the quality of products for MySQL?

强大的测试力量+对产品质量的重视+资源投

原文:  http://mysqlserverteam.com/mysql-maintenance-releases/

 

一 多种测试

What kind of testing is done upfront?

We do continuous intergration testing of all our release branches (5.5, 5.6 and trunk). This consists of:
1 Per-push testing: a subset of the MTR test suite on a selected set of platforms.
2 Daily testing: a bigger subset of the MTR test suite on a narrow set of platforms.
3 Weekly testing: the entire MTR test suite on all release platforms.

Random Query Generator (RQG) tests are also run on per-push, daily and weekly.

In addition, we run daily performance regression testing, stress/load testing, replication testing, as well as specialized builds like Werror, Valgrind and AddressSanitizer. On a weekly basis we run upgrade-downgrade testing and additional performance tests.

An important aspect of the work on continuous testing is the human factor. The QA team and the release managers follow up on errors introduced by developers and pushes that break tests are not allowed to remain for long without a fix.

 

二 产品发布所做的测试

How do we produce a maintenance release?

About a month before the projected release date, the release manager cuts off the maintenance release and creates the release branch.

Packages get built automatically in our combined build/test system and they are handed over for integration testing:


Testing with other products (connectors, MEB, Workbench…)
Upgrade-downgrade testing
Performance testing (sysbench, DBT2)
Load-stress testing with and without replication (using mysql-stress-test.pl)
Large volume testing
Package validation/installation/upgrade (on a wide range of platforms and packages)
Windows installer testing

From the point where integration testing starts, no more fixes except showstoppers into the release. If a showstopper is found, we respin the release and retest it.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值