mirror of
https://github.com/Netflix/dial-reference.git
synced 2026-06-08 19:09:59 +00:00
use sprintf-js to format console logs
This commit is contained in:
@@ -11,7 +11,7 @@ function test() {
|
||||
|
||||
return new Q()
|
||||
.then(function () {
|
||||
console.log("TEST " + __filename + ": Launch " + app + " with payload using DIAL server when application is already running and check for response code 201");
|
||||
utils.printTestInfo(__filename.slice(__dirname.length + 1), "Launch " + app + " with payload using DIAL server when application is already running and check for response code 201");
|
||||
})
|
||||
.then(dial.getApplicationStatus.bind(null, host, app))
|
||||
.then(function getCurrentAppState(result) {
|
||||
@@ -59,10 +59,10 @@ function test() {
|
||||
}
|
||||
})
|
||||
.then(function () {
|
||||
console.log("TEST PASSED");
|
||||
utils.printSuccess()
|
||||
})
|
||||
.fail(function handleError(err) {
|
||||
console.error("TEST FAILED " + err);
|
||||
utils.printFailure(err);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user