From aac35e887620d9fa56fb8e77a03ba00594ade152 Mon Sep 17 00:00:00 2001 From: Ludovic Claude Date: Tue, 20 Feb 2018 06:41:46 +0100 Subject: [PATCH] Fix integration test --- publish.sh | 6 +++--- src/main/resources/reference.conf | 2 +- tests/woken-test/src/test/resources/knn_experiment.json | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/publish.sh b/publish.sh index 33c84e39..16f684fa 100755 --- a/publish.sh +++ b/publish.sh @@ -95,9 +95,6 @@ echo "Build the project for distribution..." #./tests/test.sh echo "[ok] Done" -git push -git push --tags - # Push on Docker Hub # WARNING: Requires captain 1.1.0 to push user tags BUILD_DATE=$(date -Iseconds) \ @@ -106,6 +103,9 @@ BUILD_DATE=$(date -Iseconds) \ WORKSPACE=$WORKSPACE \ $CAPTAIN push target_image --branch-tags=false --commit-tags=false --tag $updated_version +git push +git push --tags + # Notify on slack sed "s/USER/${USER^}/" $WORKSPACE/slack.json > $WORKSPACE/.slack.json sed -i.bak "s/VERSION/$updated_version/" $WORKSPACE/.slack.json diff --git a/src/main/resources/reference.conf b/src/main/resources/reference.conf index 1915cb49..f98643d9 100644 --- a/src/main/resources/reference.conf +++ b/src/main/resources/reference.conf @@ -74,7 +74,7 @@ algorithms { supportsNullValues = true } statisticsSummary { - dockerImage = "hbpmip/python-summary-statistics:0.1.1" + dockerImage = "hbpmip/python-summary-statistics:0.1.2" predictive = false supportsNullValues = true } diff --git a/tests/woken-test/src/test/resources/knn_experiment.json b/tests/woken-test/src/test/resources/knn_experiment.json index 821393af..bf4ff081 100644 --- a/tests/woken-test/src/test/resources/knn_experiment.json +++ b/tests/woken-test/src/test/resources/knn_experiment.json @@ -1224,7 +1224,7 @@ "MSE": 251.68214549498433, "R-squared": -1.533712874110555, "RMSE": 15.864493231584309, - "type": "RegressionScores" + "type": "RegressionScore" }, "folds": { "0": { @@ -1233,7 +1233,7 @@ "MSE": 215.32844299914836, "R-squared": -17.553948664331887, "RMSE": 14.67407383786617, - "type": "RegressionScores" + "type": "RegressionScore" }, "1": { "Explained variance": 190.04155142598864, @@ -1241,10 +1241,10 @@ "MSE": 288.0358479908204, "R-squared": -2.1000064686272637, "RMSE": 16.971618897171254, - "type": "RegressionScores" + "type": "RegressionScore" } }, - "type": "KFoldCrossValidation" + "type": "KFoldCrossValidationScore" } } ]