TRITON-304 node-triton test crash in 'triton inst nic ...' tests (extra output in tests to help diagnose failure)

This commit is contained in:
Trent Mick 2018-04-10 16:30:43 -07:00
parent 91b4c23a52
commit d3d3216a38

View File

@ -52,6 +52,7 @@ test('triton instance nics', OPTS, function (tt) {
if (h.ifErr(t, err, 'triton instance create'))
return t.end();
t.ok(instId, 'created instance ' + instId);
INST = instId;
t.end();
@ -78,6 +79,7 @@ test('triton instance nics', OPTS, function (tt) {
return t.end();
NIC = JSON.parse(stdout);
t.ok(NIC, 'created NIC: ' + stdout.trim());
t.end();
});