From Fedora Project Wiki

Revision as of 09:54, 23 May 2013 by Jerboaa (talk | contribs)

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.