Skip to content

Commit 3ce149f

Browse files
author
moxious
authored
Merge pull request #6 from moxious/driver-upgrade
v0.14.1 Driver upgrade
2 parents e260c79 + bd42396 commit 3ce149f

File tree

5 files changed

+861
-1185
lines changed

5 files changed

+861
-1185
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ where the workload should go. By default, the workload goes to the default data
8383
Example:
8484

8585
```
86-
npm run graph-workload -- -a neo4j://my-cluster -u neo4j -p admin --database mydb
86+
npm run graph-workload -- -a neo4j://my-cluster -u neo4j -p admin -d mydb
8787
```
8888

8989
# Tests

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "graph-workload",
3-
"version": "0.4.0",
3+
"version": "0.4.1",
44
"description": "Tool for generating workloads running on Neo4j",
55
"main": "src/run-workload.js",
66
"scripts": {
@@ -25,16 +25,16 @@
2525
"generic-pool": "^3.6.1",
2626
"lodash": "^4.17.15",
2727
"moment": "^2.24.0",
28-
"neo4j-driver": "^4.0.1",
28+
"neo4j-driver": "^4.0.2",
2929
"randomstring": "^1.1.5",
3030
"uuid": "^3.3.2",
3131
"yargs": "^12.0.5"
3232
},
3333
"devDependencies": {
3434
"chai": "^4.2.0",
3535
"chai-as-promised": "^7.1.1",
36-
"mocha": "^6.0.0",
37-
"nyc": "^13.3.0",
36+
"mocha": "^7.2.0",
37+
"nyc": "^15.1.0",
3838
"sinon": "^7.2.4"
3939
}
4040
}

src/run-configuration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const generateFromArgs = (args) => {
125125
checkpointFreq: args.checkpoint || process.env.CHECKPOINT_FREQUENCY || 5000,
126126
failFast,
127127
phase: 'NOT_STARTED',
128-
database: args.database || args.d || null,
128+
database: args.d || null,
129129
}, terminationType, probabilityTable, connectionDetails, concurrency);
130130

131131
if (obj.runType === 'counted') {

src/workloads/rac.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[
2+
[ 1, "randomAccess" ]
3+
]

0 commit comments

Comments
 (0)