Changeset 13130 for trunk/Nebulous-Server/t/03_server_create_object.t
- Timestamp:
- May 2, 2007, 10:14:46 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/Nebulous-Server/t/03_server_create_object.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Nebulous-Server/t/03_server_create_object.t
r13092 r13130 3 3 # Copryight (C) 2004-2005 Joshua Hoblitt 4 4 # 5 # $Id: 03_server_create_object.t,v 1.1 3 2007-05-01 02:52:04jhoblitt Exp $5 # $Id: 03_server_create_object.t,v 1.14 2007-05-02 20:14:46 jhoblitt Exp $ 6 6 7 7 use strict; 8 8 use warnings FATAL => qw( all ); 9 9 10 use Test::More tests => 8;10 use Test::More tests => 10; 11 11 12 12 use lib qw( ./t ./lib ); … … 57 57 58 58 eval { 59 $neb->create_object("foo", 'node03'); 60 }; 61 like($@, qr/node03 is not available/, "request volume with allocate = FALSE"); 62 63 Test::Nebulous->setup; 64 65 eval { 66 $neb->create_object("foo", 'node04'); 67 }; 68 like($@, qr/node04 is not available/, "request volume this is full"); 69 70 Test::Nebulous->setup; 71 72 eval { 59 73 $neb->create_object("foo", 99); 60 74 };
Note:
See TracChangeset
for help on using the changeset viewer.
