TRITON-304 node-triton test crash in 'triton inst nic ...' tests (extra output in tests to help diagnose failure)
This commit is contained in:
parent
91b4c23a52
commit
d3d3216a38
@ -52,6 +52,7 @@ test('triton instance nics', OPTS, function (tt) {
|
|||||||
if (h.ifErr(t, err, 'triton instance create'))
|
if (h.ifErr(t, err, 'triton instance create'))
|
||||||
return t.end();
|
return t.end();
|
||||||
|
|
||||||
|
t.ok(instId, 'created instance ' + instId);
|
||||||
INST = instId;
|
INST = instId;
|
||||||
|
|
||||||
t.end();
|
t.end();
|
||||||
@ -78,6 +79,7 @@ test('triton instance nics', OPTS, function (tt) {
|
|||||||
return t.end();
|
return t.end();
|
||||||
|
|
||||||
NIC = JSON.parse(stdout);
|
NIC = JSON.parse(stdout);
|
||||||
|
t.ok(NIC, 'created NIC: ' + stdout.trim());
|
||||||
|
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user