Skip to content

Commit 37b5098

Browse files
committed
Fix: replace old e2e test with new concurrent multihost tests
1 parent f985b2d commit 37b5098

11 files changed

+366
-178
lines changed

.env.temp

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
UBUNTU_TEST_HOST="123.123.123.123"
2-
UBUNTU_TEST_USER="myuser"
3-
UBUNTU_TEST_PORT="22"
4-
UBUNTU_TEST_KEYPATH="$HOME/.ssh/id_rsa"
1+
TEST_HOST1_HOST=""
2+
TEST_HOST1_USER="ubuntu"
3+
TEST_HOST1_PORT="22"
4+
TEST_HOST1_KEYPATH="$HOME/.ssh/id_rsa"
5+
TEST_HOST2_HOST=""
6+
TEST_HOST2_USER="ubuntu"
7+
TEST_HOST2_PORT="22"
8+
TEST_HOST2_KEYPATH="$HOME/.ssh/id_rsa"
9+
TEST_HOST3_HOST=""
10+
TEST_HOST3_USER="ubuntu"
11+
TEST_HOST3_PORT="22"
12+
TEST_HOST3_KEYPATH="$HOME/.ssh/id_rsa"

package-lock.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hivessh",
3-
"version": "1.2.1",
3+
"version": "1.2.2",
44
"description": "HiveSsh is an innovative library designed to streamline SSH2 connections and simplify task execution on Linux servers.",
55
"type": "module",
66
"main": "./dist/index.cjs",
@@ -14,7 +14,7 @@
1414
"scripts": {
1515
"start": "node --enable-source-maps dist/index.js",
1616
"build": "tsc",
17-
"testl": "tsc && node --env-file=.env --enable-source-maps dist/test/ubuntuServer.test.js",
17+
"testl": "tsc && node --env-file=.env --enable-source-maps dist/test/e2e-concurrent-exec.test.js",
1818
"exec": "tsc && node --enable-source-maps dist/index.js",
1919
"dev": "nodemon -w ./src --ext *.ts -x \"tsc && node --enable-source-maps dist/index.js\""
2020
},

0 commit comments

Comments
 (0)