change to fs to write file (#4736)

* change to fs to write file

* Added more env variables check as well

* Resolve PR comments

* Merge master

* Add file name exist check and delete it after test is done
This commit is contained in:
Yurong He
2019-03-29 15:04:11 -07:00
committed by GitHub
parent c7bc37d010
commit 6da66cf367
3 changed files with 17 additions and 3 deletions

View File

@@ -20,7 +20,10 @@ if (!context.RunTest) {
assert(process.env.BDC_BACKEND_HOSTNAME !== undefined &&
process.env.BDC_BACKEND_USERNAME !== undefined &&
process.env.BDC_BACKEND_PWD !== undefined, 'BDC_BACKEND_HOSTNAME, BDC_BACKEND_USERNAME, BDC_BACKEND_PWD must be set using ./scripts/setbackenvariables.sh or .\\scripts\\setbackendvaraibles.bat');
process.env.BDC_BACKEND_PWD !== undefined &&
process.env.STANDALONE_SQL_PWD !== undefined &&
process.env.STANDALONE_SQL_USERNAME !== undefined &&
process.env.PYTHON_TEST_PATH, 'BDC_BACKEND_HOSTNAME, BDC_BACKEND_USERNAME, BDC_BACKEND_PWD must be set using ./scripts/setbackenvariables.sh or .\\scripts\\setbackendvaraibles.bat');
});
});
}