diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 6da9394..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,28 +0,0 @@ -pipeline { - agent any - tools { - maven 'Maven 3.3.9' - jdk 'jdk8' - } - stages { - stage ('Initialize') { - steps { - sh ''' - echo "PATH = ${PATH}" - echo "M2_HOME = ${M2_HOME}" - ''' - } - } - - stage ('Build') { - steps { - sh 'mvn -Dmaven.test.failure.ignore=true install' - } - post { - success { - junit 'target/surefire-reports/**/*.xml' - } - } - } - } -} \ No newline at end of file diff --git a/src/test/java/com/datastax/oss/driver/internal/core/loadbalancing/LatencyAndInflightCountLoadBalancingPolicyTest.java b/src/test/java/com/datastax/oss/driver/internal/core/loadbalancing/LatencyAndInflightCountLoadBalancingPolicyTest.java index a94482b..cdfa3e4 100644 --- a/src/test/java/com/datastax/oss/driver/internal/core/loadbalancing/LatencyAndInflightCountLoadBalancingPolicyTest.java +++ b/src/test/java/com/datastax/oss/driver/internal/core/loadbalancing/LatencyAndInflightCountLoadBalancingPolicyTest.java @@ -125,7 +125,7 @@ public void should_put_slowest_node_at_end_when_3_local_replicas() { // Then // nodes 1, 3 and 5 always first, round-robin on the rest // node 3 faster -> swap - assertThat(plan1).containsExactly(node5, node3, node1, node2, node4); + assertThat(plan1).containsExactly(node1, node3, node1, node2, node4); assertThat(plan2).containsExactly(node5, node3, node1, node4, node2); then(latencyPolicy).should(times(2)).shuffleHead(any(), anyInt());