diff --git a/build/repo.targets b/build/repo.targets index 85e3b13e5a..ffd96ceae7 100644 --- a/build/repo.targets +++ b/build/repo.targets @@ -10,29 +10,15 @@ - - - $(JAVA_HOME)\bin\javac.exe - $(JAVA_HOME)/bin/javac - - true - + -PpackageVersion="$(JavaPackageVersion)" $(GradleOptions) -Dorg.gradle.daemon=false + + true - - - - - - - - $(RestoreDependsOn);RestoreNpm @@ -58,7 +44,7 @@ - + @@ -66,7 +52,6 @@ $(GetArtifactInfoDependsOn);GetNpmArtifactInfo;GetJavaArtifactInfo - $(PrepareDependsOn);GetNpmArtifactInfo;GetJavaArtifactInfo @@ -91,7 +76,7 @@ - + JavaJar $(JavaClientVersion) @@ -108,6 +93,24 @@ + + DetectJava;$(PrepareDependsOn) + + + + + + + + + + + + + true + + + Restore;BuildNPMPackages;$(CompileDependsOn);BuildJavaClient @@ -118,7 +121,7 @@ - + @@ -143,7 +146,7 @@ - + diff --git a/clients/ts/FunctionalTests/package.json b/clients/ts/FunctionalTests/package.json index 34ab4d831e..bc2d8bb23a 100644 --- a/clients/ts/FunctionalTests/package.json +++ b/clients/ts/FunctionalTests/package.json @@ -39,7 +39,7 @@ "build:lint": "node ../common/node_modules/tslint/bin/tslint -c ../tslint.json -p ./tsconfig.json", "build:webpack": "node ../common/node_modules/webpack-cli/bin/cli.js", "build:parent": "cd .. && npm run build", - "pretest": "npm run build:parent && npm run build && dotnet build", + "pretest": "npm run build:parent && npm run build && dotnet build --no-restore", "test": "npm run test:local --", "test:inner": "npm run build && dotnet build && npm run test:local --", "test:local": "ts-node --project ./scripts/tsconfig.json ./scripts/run-tests.ts", diff --git a/clients/ts/FunctionalTests/scripts/karma.local.conf.js b/clients/ts/FunctionalTests/scripts/karma.local.conf.js index d9751a447b..3c127435b9 100644 --- a/clients/ts/FunctionalTests/scripts/karma.local.conf.js +++ b/clients/ts/FunctionalTests/scripts/karma.local.conf.js @@ -56,7 +56,9 @@ try { customLaunchers: { ChromeHeadlessNoSandbox: { base: 'ChromeHeadless', - flags: ['--no-sandbox'] + + // ChromeHeadless runs about 10x slower on Windows 7 machines without the --proxy switches below. Why? ¯\_(ツ)_/¯ + flags: ["--no-sandbox", "--proxy-server='direct://'", "--proxy-bypass-list=*"] } }, });