TRITON-324 node-triton cli-affinity.test.js failures: create timeout, .end() called twice
Reviewed by: Pedro P. Candel <pedro@joyent.com> Approved by: Pedro P. Candel <pedro@joyent.com>
This commit is contained in:
parent
0bc11c1e33
commit
3584c82e05
@ -110,7 +110,8 @@ test('affinity (triton create -a RULE ...)', testOpts, function (tt) {
|
|||||||
var db2Alias = ALIAS_PREFIX + '-db2';
|
var db2Alias = ALIAS_PREFIX + '-db2';
|
||||||
var db2;
|
var db2;
|
||||||
tt.test(' triton create -n db2 -a \'instance!=db*\'', function (t) {
|
tt.test(' triton create -n db2 -a \'instance!=db*\'', function (t) {
|
||||||
var argv = ['create', '-wj', '-n', db2Alias, '-a', 'instance!=db*',
|
var argv = ['create', '-wj', '-n', db2Alias, '-a',
|
||||||
|
'instance!=' + ALIAS_PREFIX + '-db*',
|
||||||
imgId, pkgId];
|
imgId, pkgId];
|
||||||
h.safeTriton(t, argv, function (err, stdout) {
|
h.safeTriton(t, argv, function (err, stdout) {
|
||||||
var lines = h.jsonStreamParse(stdout);
|
var lines = h.jsonStreamParse(stdout);
|
||||||
|
Reference in New Issue
Block a user