From 98830d53a0decc6f3998b27e8aa6688abf3bd749 Mon Sep 17 00:00:00 2001 From: Ankit Khedia <36249596+ankkhedia@users.noreply.github.com> Date: Fri, 16 Nov 2018 21:29:07 -0800 Subject: [PATCH] fix file lock issue (#13296) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b12311736647..ad7f0ff3485f 100644 --- a/Makefile +++ b/Makefile @@ -597,7 +597,7 @@ rpkg: rpkgtest: Rscript -e 'require(testthat);res<-test_dir("R-package/tests/testthat");if(!testthat:::all_passed(res)){stop("Test failures", call. = FALSE)}' - Rscript -e 'res<-covr:::package_coverage("R-package");fileConn<-file("r-package_coverage.json");writeLines(covr:::to_codecov(res), fileConn);close(fileConn)' + Rscript -e 'res<-covr:::package_coverage("R-package");fileConn<-file(paste("r-package_coverage_",toString(runif(1)),".json"));writeLines(covr:::to_codecov(res), fileConn);close(fileConn)' scalaclean: (cd $(ROOTDIR)/scala-package; \