Unverified Commit 6d7efa19 authored by J-shang's avatar J-shang Committed by GitHub
Browse files

fix sharedstorage it (#3993)

parent f2f58dbb
...@@ -49,6 +49,11 @@ testCases: ...@@ -49,6 +49,11 @@ testCases:
kwargs: kwargs:
rootpath: /tmp/nnimount/testlocalrootpath rootpath: /tmp/nnimount/testlocalrootpath
- name: sklearn-regression
configFile: test/config/examples/sklearn-regression.yml
# mount point in local may late to umount when stop experiment in shared-storage-remote-azureblob,
# so keep two shared storage tests away from each other.
- name: shared-storage-remote-nfs - name: shared-storage-remote-nfs
configFile: test/config/sharedstorage_test/config_sharedstorage_remote_nfs.yml configFile: test/config/sharedstorage_test/config_sharedstorage_remote_nfs.yml
trainingService: remote trainingService: remote
...@@ -57,9 +62,6 @@ testCases: ...@@ -57,9 +62,6 @@ testCases:
kwargs: kwargs:
rootpath: /tmp/nnimount/testlocalrootpath rootpath: /tmp/nnimount/testlocalrootpath
- name: sklearn-regression
configFile: test/config/examples/sklearn-regression.yml
- name: mnist-tensorflow - name: mnist-tensorflow
configFile: test/config/examples/mnist-tfv2.yml configFile: test/config/examples/mnist-tfv2.yml
config: config:
......
...@@ -114,9 +114,9 @@ class NNITensorboardManager implements TensorboardManager { ...@@ -114,9 +114,9 @@ class NNITensorboardManager implements TensorboardManager {
} }
private setTensorboardVersion(): void { private setTensorboardVersion(): void {
let command = `python3 -c 'import tensorboard ; print(tensorboard.__version__)'`; let command = `python3 -c 'import tensorboard ; print(tensorboard.__version__)' 2>&1`;
if (process.platform === 'win32') { if (process.platform === 'win32') {
command = `python -c "import tensorboard ; print(tensorboard.__version__)"`; command = `python -c "import tensorboard ; print(tensorboard.__version__)" 2>&1`;
} }
try { try {
const tensorboardVersion = cp.execSync(command).toString(); const tensorboardVersion = cp.execSync(command).toString();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment