QA:Testcase thermostat storage

From FedoraProject

Revision as of 09:55, 23 May 2013 by Jerboaa (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

Description

This test case tests that the thermostat storage command works correctly.

Setup

  1. Boot into the machine/VM you wish to test.
  2. If thermostat is not installed yet, install thermostat.

How to test

  1. Start thermostat storage: thermostat storage --start

Expected Results

  1. This should fork a new mongod process on localhost (127.0.0.1) on port 27518 (the default port): netstat -tpa . No exceptions are expected.
  2. Note that bind address and/or port can be changed via the $THERMOSTAT_HOME/storage/db.properties configuration file. $THERMOSTAT_HOME is ~/.thermostat on Fedora, which gets created the first time you run thermostat.