@nginstack/engine-node 84.0.1 → 84.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Engine.spec.js +4 -4
- package/package.json +2 -2
package/lib/Engine.spec.js
CHANGED
|
@@ -44,7 +44,7 @@ describe('Engine', function () {
|
|
|
44
44
|
|
|
45
45
|
it('should start and stop', async function () {
|
|
46
46
|
const dbName = 'NGINSTACK';
|
|
47
|
-
const dbUrl =
|
|
47
|
+
const dbUrl = process.env.ENGINE_URL;
|
|
48
48
|
const installPath = path.resolve(workspaceRoot, '.engine', dbName);
|
|
49
49
|
const engine = new Engine(installPath, dbUrl, dbName, {
|
|
50
50
|
instanceId: Engine.formatWorkspaceInstanceId()
|
|
@@ -73,7 +73,7 @@ describe('Engine', function () {
|
|
|
73
73
|
};
|
|
74
74
|
try {
|
|
75
75
|
const dbName = 'NGINSTACK';
|
|
76
|
-
const dbUrl =
|
|
76
|
+
const dbUrl = process.env.ENGINE_URL;
|
|
77
77
|
const installPath = path.resolve(workspaceRoot, '.engine', dbName);
|
|
78
78
|
const engine = new Engine(installPath, dbUrl, dbName, {
|
|
79
79
|
instanceId: Engine.formatWorkspaceInstanceId(),
|
|
@@ -86,8 +86,8 @@ describe('Engine', function () {
|
|
|
86
86
|
expect(engine.running).to.be.true;
|
|
87
87
|
await engine.stop();
|
|
88
88
|
expect(engine.running).to.be.false;
|
|
89
|
-
expect(startupLogFound).to.be.true;
|
|
90
|
-
expect(shutdownLogFound).to.be.true;
|
|
89
|
+
expect(startupLogFound, 'Startup log not found').to.be.true;
|
|
90
|
+
expect(shutdownLogFound, 'Shutdown log not found').to.be.true;
|
|
91
91
|
} finally {
|
|
92
92
|
console.log = nativeLog;
|
|
93
93
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nginstack/engine-node",
|
|
3
|
-
"version": "84.0.
|
|
3
|
+
"version": "84.0.30",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"thread-sleep": "^2.2.0",
|
|
25
25
|
"tmp": "^0.2.1"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "ecbe58f01594ef68392c55e99ead90d6d37c9465"
|
|
28
28
|
}
|