Skip to content

Commit

Permalink
Fix: replace old e2e test with new concurrent multihost tests
Browse files Browse the repository at this point in the history
  • Loading branch information
NobleMajo committed Feb 2, 2025
1 parent f985b2d commit 37b5098
Show file tree
Hide file tree
Showing 11 changed files with 366 additions and 178 deletions.
16 changes: 12 additions & 4 deletions .env.temp
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
UBUNTU_TEST_HOST="123.123.123.123"
UBUNTU_TEST_USER="myuser"
UBUNTU_TEST_PORT="22"
UBUNTU_TEST_KEYPATH="$HOME/.ssh/id_rsa"
TEST_HOST1_HOST=""
TEST_HOST1_USER="ubuntu"
TEST_HOST1_PORT="22"
TEST_HOST1_KEYPATH="$HOME/.ssh/id_rsa"
TEST_HOST2_HOST=""
TEST_HOST2_USER="ubuntu"
TEST_HOST2_PORT="22"
TEST_HOST2_KEYPATH="$HOME/.ssh/id_rsa"
TEST_HOST3_HOST=""
TEST_HOST3_USER="ubuntu"
TEST_HOST3_PORT="22"
TEST_HOST3_KEYPATH="$HOME/.ssh/id_rsa"
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hivessh",
"version": "1.2.1",
"version": "1.2.2",
"description": "HiveSsh is an innovative library designed to streamline SSH2 connections and simplify task execution on Linux servers.",
"type": "module",
"main": "./dist/index.cjs",
Expand All @@ -14,7 +14,7 @@
"scripts": {
"start": "node --enable-source-maps dist/index.js",
"build": "tsc",
"testl": "tsc && node --env-file=.env --enable-source-maps dist/test/ubuntuServer.test.js",
"testl": "tsc && node --env-file=.env --enable-source-maps dist/test/e2e-concurrent-exec.test.js",
"exec": "tsc && node --enable-source-maps dist/index.js",
"dev": "nodemon -w ./src --ext *.ts -x \"tsc && node --enable-source-maps dist/index.js\""
},
Expand Down
Loading

0 comments on commit 37b5098

Please sign in to comment.