Make Math.random() deterministic in provisions

Replace Math.random() in sandbox with a seedable implementation so that
the script remains deterministic.
This commit is contained in:
Zaid Abdulla committed 2017-01-01 05:50:43 -08:00
1 parent 3e4f4b29ab
commit 7644d46f6b
2 files changed
+19 -1

No files matched your search

+2 -1
View File
@@ -24,7 +24,8 @@
"libxmljs": "^0.18.0",
"redis": "^2.6.2",
"hiredis": "^0.5.0",
"mongodb": "^2.2.4"
"mongodb": "^2.2.4",
"seedrandom": "^2.4.2"
},
"devDependencies": {
"coffee-script": "^1.10.0"