X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2d4263c16812a906589cbc13be26535a85691bd8..c2aeaa729c350a33ec47ae1b012e50a6685ac2d2:/services/api/test/fixtures/nodes.yml diff --git a/services/api/test/fixtures/nodes.yml b/services/api/test/fixtures/nodes.yml index c63aac0b60..398bdf5cb0 100644 --- a/services/api/test/fixtures/nodes.yml +++ b/services/api/test/fixtures/nodes.yml @@ -1,11 +1,34 @@ -# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html +busy: + uuid: zzzzz-7ekkf-53y36l1lu5ijveb + owner_uuid: zzzzz-tpzed-d9tiejq69daie8f + hostname: compute0 + domain: "" + ip_address: 172.17.2.172 + last_ping_at: <%= 1.minute.ago.to_s(:db) %> + first_ping_at: <%= 23.hour.ago.to_s(:db) %> + info: + :ping_secret: "48dpm3b8ijyj3jkr2yczxw0844dqd2752bhll7klodvgz9bg80" + :slurm_state: "alloc" -# This model initially had no columns defined. If you add columns to the -# model remove the '{}' from the fixture names and add the columns immediately -# below each fixture, per the syntax in the comments below -# -one: {} -# column: value -# -two: {} -# column: value +down: + uuid: zzzzz-7ekkf-2vbompg3ecc6e2s + owner_uuid: zzzzz-tpzed-d9tiejq69daie8f + hostname: compute1 + domain: "" + ip_address: 172.17.2.173 + last_ping_at: <%= 1.hour.ago.to_s(:db) %> + first_ping_at: <%= 23.hour.ago.to_s(:db) %> + info: + :ping_secret: "2k3i71depad36ugwmlgzilbi4e8n0illb2r8l4efg9mzkb3a1k" + +idle: + uuid: zzzzz-7ekkf-2z3mc76g2q73aio + owner_uuid: zzzzz-tpzed-d9tiejq69daie8f + hostname: compute2 + domain: "" + ip_address: 172.17.2.174 + last_ping_at: <%= 2.minute.ago.to_s(:db) %> + first_ping_at: <%= 23.hour.ago.to_s(:db) %> + info: + :ping_secret: "69udawxvn3zzj45hs8bumvndricrha4lcpi23pd69e44soanc0" + :slurm_state: "idle"