Skip to content

Latest commit

 

History

History
66 lines (59 loc) · 1.27 KB

README.md

File metadata and controls

66 lines (59 loc) · 1.27 KB

ZetaScale Test Framework

OS Requirements

CentOS
RHEL (v5.5, v6.5)
Ubuntu

Dependencies

Centos:

yum install libevent libevent-devel libaio libaio-devel snappy snappy-devel nc gcc –nogpgcheck

Ubuntu:

apt-get install libevent-dev
apt-get install libaio-devel
apt-get install snappy
apt-get install netcat
install perl moudual with cpan:
install switch.pm
install Log::Log4perl

Test System Requirement

Memory: 20GB
SSD/HDD storage: 128GB (Some stress tests needs 300GB storage space)

Setup test environment.

Get ZetaScale test framework

git clone [email protected]:18250/zetascale_test_framework.git
cd zetascale_test_framework

Link zetascale package to zs_sdk (https://github.com/SanDisk-Open-Source/zetascale)

ln -s <zetascale/package/path> zs_sdk

Compile test engine

cd engine
make clean
make
cd ..

Run testcases

Run single test case:

perl run.pl  --verbose --case=t/MPut/01_1cntr_mput_recovery.t

Run test cases in test suites dir: t/Basic

perl run.pl  --verbose --case=t/Basic/

Run all test cases in test dir: t

perl run.pl  --verbose --case=t/