A full makedata on every sasjs test run is expensive, and it made the suite depend on state the tests themselves should not be creating. Move it to where DC already does this: the npm scripts that send deploy/makeData*.json to services/admin/makedata. npm run sas719setup deploy, then seed once npm run sas719test run the suite as often as wanted KEEPME in the payload keeps makedata on the server, so a reseed does not need a redeploy first. Viya's makedata gains the same switch, so nextviyamakedata behaves the same way. Tests must now leave the estate as they found it - that is the follow-up, and it is what makes re-running a single test possible.
11 lines
137 B
JSON
11 lines
137 B
JSON
{
|
|
"fromjs": [
|
|
{
|
|
"ADMIN": "all-users",
|
|
"DCPATH": "/tmp/dcdata",
|
|
"OUTFMT": "JSON",
|
|
"KEEPME": "Y"
|
|
}
|
|
]
|
|
}
|