Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix flaky clojure profile test #16058

Merged
merged 2 commits into from
Sep 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@
(deftest run-profiler
(profiler/run)
(let [new-file (clojure.java.io/as-file profiler/profiler-name)]
(is (.exists new-file))
(is (> 10000 (- (System/currentTimeMillis) (.lastModified new-file))))))
(is (.exists new-file))))

This file was deleted.

2 changes: 1 addition & 1 deletion contrib/clojure-package/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ lein install
# then run through the examples
EXAMPLES_HOME=${MXNET_HOME}/contrib/clojure-package/examples
# use AWK pattern for blacklisting
TEST_CASES=`find ${EXAMPLES_HOME} -name test | awk '!/dontselect1|cnn-text-classification|gan|neural-style|pre-trained-models/'`
TEST_CASES=`find ${EXAMPLES_HOME} -name test | awk '!/dontselect1|cnn-text-classification|gan|neural-style|pre-trained-models|profiler/'`
for i in $TEST_CASES ; do
cd ${i} && lein test
done