Mercurial > hg > ThermostatQA
view scripts/add_vm_db_commands2.txt @ 168:af42c142855f
fixes of outputtexts, scripts and tests:
- outputtexts (help texts) are updated
- lot of sleeps added (or increased sleep time) in tests
to make them more reliable (preventing random failitures)
- added missing credential to CommandChannelSmokeTest and scripts
(where local storage exception was needed before)
- patterns/1.1.0/noAA/ClientPreferencesDialog/web_storage_connection_info2.png:
added missing file
- src/org/thermostat/qa/framework/Patterns.java: removed web_storage_connection_info3 from
list because this pattern is not present for any version of thermostat
- src/org/thermostat/qa/testsuites/GuiClientSmokeTest.java(testStartGUIWithStorageMenuHelpAboutTest):
"clicking on close button" is used to close about dialog instead of "pressing enter" which had not worked
author | Zdenek Zambersky <zzambers@redhat.com> |
---|---|
date | Mon, 01 Dec 2014 16:23:03 +0100 |
parents | 3635aea515f6 |
children |
line wrap: on
line source
use thermostat db.auth("mongodevuser", "mongodevpassword") db db["host-info"].insert({ "agentId" : "non-existing-agent-no1", "hostname" : "artif.added.host0.name" }) db["vm-info"].insert({ "agentId" : "non-existing-agent-no1", "environmentAsArray" : [ { "key" : "HOSTNAME", "value" : "artif.added.host0.name" } ], "startTimeStamp" : NumberLong("1234567891011"), "stopTimeStamp" : NumberLong("-9223372036854775808"), "vmId" : "12345", "vmPid" : NumberInt("12345") }) db["vm-info"].find() exit