Jump to content

Test Cases Reference Document For NIIT Tobacco board

From TetraWiki


Test Cases Reference Document

For NIIT


Data Integrity[edit]

  • service mysql status

The result shoud be running

  • mysqlcheck -u root -p

After entering the password it should be run without any error.

  • Check DRBD
    • drbd-overview
    • cat /proc/drbd
      • Should show complete the running and passive node (if available)

Sanity checks[edit]

  • service mysql status (For checking mysql status)

The resukt should be running


  • service tomcat status (For chceking webservice status)

The result should be running


  • service cups status (For checking printer status)

The result should be running


  • Mount status for the windows partition

mount | grep cifs

The command output should be like following

//10.0.1.25/SynergyBarcodeutility on /mnt/windowsahre type cifs (rw)

where 10.0.1.25 is the reception machine ip


  • Network status checks

Chcek with ping to gateway, reception machine and cluster ip, primary and secondary node


  • Test the Synergy application via web browser

Configuration Checks[edit]

  • Mysql configuration

/etc/my.cnf file should be correct


  • Tomcat configuration

/etc/tomcat6/tomcat6.conf should be correct


  • Iptables/ firewall configuration

/etc/sysconfig/Susefirewall2 should be correct


  • DNS configuration

/etc/named.conf

/var/lib/named/eauction.master

both file configuration should be correct.


  • HHT (Hand Held Terminal) configuration file check

/usr/bin/hht

/etc/init.d/hht


should be correct


  • Cluster and DRBD configuration check

/etc/drbd.conf

/etc/drbd.d/global_comman.conf

/etc/drbd.d/r0.res

crm configuration should be correct