From Fedora Project Wiki

 
Line 8: Line 8:
 
|results=
 
|results=
 
# This should fork a new mongod process on localhost (127.0.0.1) on port 27518 (the default port): {{command|netstat -tpa | grep mongod}}. No exceptions are expected.
 
# This should fork a new mongod process on localhost (127.0.0.1) on port 27518 (the default port): {{command|netstat -tpa | grep mongod}}. No exceptions are expected.
# 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.
+
# 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.
 
}}
 
}}

Latest revision as of 09:55, 23 May 2013

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.