QA:Testcase thermostat thread monitor

From FedoraProject

Jump to: navigation, search

Contents

Description

This test case tests whether the thread monitoring functionality as part of the Thermostat swing client works correctly.

Setup

  1. Boot into the machine/VM you wish to test.
  2. If thermostat is not installed yet, install thermostat.
  3. Start the thermostat storage and agent: thermostat service &
  4. Start the thermostat Swing client: thermostat gui

How to test

  1. Select a JVM from the tree on the left
  2. Switch to the "Threads" tab
  3. Click the "Recording" button ("<" or play icon on the top right)
  4. Wait a few seconds
  5. Click on the same button again to stop recording

Expected Results

  1. Once you click the button, you should see timelines for threads, with one timeline per thread and with the appropriate color to show whether the thread is active, or sleeping (or doing something else)
  2. Clicking on the button the second the time stop any further updates to the chart