Mercurial > hg > ThermostatQA
view scripts/add_agent_db_commands.txt @ 165:419257a68b27
fixes of some tests
author | Zdenek Zambersky <zzambers@redhat.com> |
---|---|
date | Wed, 29 Oct 2014 15:38:02 +0100 |
parents | 12e6a3f2e3e7 |
children |
line wrap: on
line source
use thermostat db.auth("agent-tester","heslo1") db db["agent-config"].insert({ "agentId" : "artif-added-agent-for-testing", "alive" : true, "configListenAddress" : "127.0.0.1:12345", "startTime" : NumberLong("1234567891011"), "stopTime" : NumberLong(0) }) exit