joyent/node-triton#219 test: Fix test suite to not use non-existant triton img rm -w wait option

This commit is contained in:
Trent Mick 2017-07-31 16:31:19 -07:00
parent 546abee318
commit c0ad6bb378

View File

@ -468,7 +468,7 @@ function deleteTestImg(t, imgNameOrId, cb) {
}
} else {
var imgToRm = JSON.parse(stdout);
safeTriton(t, ['img', 'rm', '-w', imgToRm.id], function onRm() {
safeTriton(t, ['img', 'rm', '-f', imgToRm.id], function onRm() {
t.ok(true, 'deleted img ' + imgToRm.id);
cb();
});