Skip to content

Commit 19b5c63

Browse files
authored
Merge pull request #306 from riptano/1.10.0_prep
1.10.0 GA release preparation
2 parents 5169071 + b707550 commit 19b5c63

29 files changed

Lines changed: 102 additions & 63 deletions

CHANGELOG.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
1+
1.10.0
2+
===========
3+
4+
Bug Fixes
5+
--------
6+
* [CPP-819] - Ensure port is updated on already assigned contact points
7+
18
1.10.0-alpha2
29
===========
310

411
Features
512
--------
6-
[CPP-812] - Enable warnings for implicit casts and fix problems
7-
[CPP-813] - Detect CaaS and change consistency default
8-
[CPP-817] - Provide error if mixed usage of secure connect bundle and contact points/ssl context
9-
[CPP-818] - Add missing configuration elements to Insights startup message
13+
* [CPP-812] - Enable warnings for implicit casts and fix problems
14+
* [CPP-813] - Detect CaaS and change consistency default
15+
* [CPP-817] - Provide error if mixed usage of secure connect bundle and contact points/ssl context
16+
* [CPP-818] - Add missing configuration elements to Insights startup message
1017

1118
Bug Fixes
1219
--------
13-
[CPP-802] - Handle prepared id mismatch when repreparing on the fly
14-
[CPP-815] - Schema agreement fails with SNI
15-
[CPP-811] - Requests won't complete if they exceed the number of streams on a connection
20+
* [CPP-802] - Handle prepared id mismatch when repreparing on the fly
21+
* [CPP-815] - Schema agreement fails with SNI
22+
* [CPP-811] - Requests won't complete if they exceed the number of streams on a connection
1623

1724
1.10.0-alpha
1825
===========

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ environment:
4040
DRIVER_TYPE: DSE
4141
BOOST_VERSION: 1.69.0
4242
LIBSSH2_VERSION: 1.9.0
43-
LIBUV_VERSION: 1.32.0
43+
LIBUV_VERSION: 1.33.0
4444
OPENSSL_1_0_VERSION: 1.0.2s
4545
OPENSSL_1_1_VERSION: 1.1.1c
4646
ZLIB_VERSION: 1.2.11

build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ os:
3535
- centos/7-64/cpp
3636
- osx/high-sierra
3737
env:
38-
LIBUV_VERSION: 1.32.0
38+
LIBUV_VERSION: 1.33.0
3939
build:
4040
- script: |
4141
. ./cpp-driver/.build.sh

cpp-driver/CHANGELOG.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1+
2.14.0
2+
===========
3+
4+
Bug Fixes
5+
--------
6+
* [CPP-819] - Ensure port is updated on already assigned contact points
7+
18
2.14.0-alpha2
29
===========
310

411
Features
512
--------
6-
[CPP-812] - Enable warnings for implicit casts and fix problems
7-
[CPP-813] - Detect CaaS and change consistency default
8-
[CPP-817] - Provide error if mixed usage of secure connect bundle and contact points/ssl context
13+
* [CPP-812] - Enable warnings for implicit casts and fix problems
14+
* [CPP-813] - Detect CaaS and change consistency default
15+
* [CPP-817] - Provide error if mixed usage of secure connect bundle and contact points/ssl context
916

1017
Bug Fixes
1118
--------
12-
[CPP-802] - Handle prepared id mismatch when repreparing on the fly
13-
[CPP-815] - Schema agreement fails with SNI
14-
[CPP-811] - Requests won't complete if they exceed the number of streams on a connection
19+
* [CPP-802] - Handle prepared id mismatch when repreparing on the fly
20+
* [CPP-815] - Schema agreement fails with SNI
21+
* [CPP-811] - Requests won't complete if they exceed the number of streams on a connection
1522

1623
2.14.0-alpha
1724
===========

cpp-driver/appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ environment:
3939
DRIVER_TYPE: CASS
4040
BOOST_VERSION: 1.69.0
4141
LIBSSH2_VERSION: 1.9.0
42-
LIBUV_VERSION: 1.32.0
42+
LIBUV_VERSION: 1.33.0
4343
OPENSSL_1_0_VERSION: 1.0.2s
4444
OPENSSL_1_1_VERSION: 1.1.1c
4545
ZLIB_VERSION: 1.2.11

cpp-driver/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ os:
3333
- centos/7-64/cpp
3434
- osx/high-sierra
3535
env:
36-
LIBUV_VERSION: 1.32.0
36+
LIBUV_VERSION: 1.33.0
3737
build:
3838
- script: |
3939
. .build.sh

cpp-driver/gtests/src/integration/integration.hpp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@
3737

3838
// Macros for grouping tests together
3939
#define GROUP_TEST_F(group_name, test_case, test_name) TEST_F(test_case, group_name##_##test_name)
40+
#define GROUP_TEST(group_name, test_case, test_name) TEST(test_case, group_name##_##test_name)
4041
#define GROUP_TYPED_TEST_P(group_name, test_case, test_name) \
4142
TYPED_TEST_P(test_case, group_name##_##test_name)
4243

4344
// Macros to use for grouping integration tests together
44-
#define GROUP_INTEGRATION_TEST(server_type) GROUP_CONCAT(Integration, server_type)
45+
#define INTEGRATION_TEST(server_type, test_case, test_name) \
46+
GROUP_TEST(Integration##_##server_type, test_case, test_name)
4547
#define INTEGRATION_TEST_F(server_type, test_case, test_name) \
4648
GROUP_TEST_F(Integration##_##server_type, test_case, test_name)
4749
#define INTEGRATION_TYPED_TEST_P(server_type, test_case, test_name) \
@@ -52,7 +54,8 @@
5254
GROUP_TYPED_TEST_P(DISABLED##_##Integration##_##server_type, test_case, est_name)
5355

5456
// Macros to use for grouping Cassandra integration tests together
55-
#define CASSANDRA_TEST_NAME(test_name) Integration##_##Cassandra##_##test_name
57+
#define CASSANDRA_INTEGRATION_TEST(test_case, test_name) \
58+
INTEGRATION_TEST(Cassandra, test_case, test_name)
5659
#define CASSANDRA_INTEGRATION_TEST_F(test_case, test_name) \
5760
INTEGRATION_TEST_F(Cassandra, test_case, test_name)
5861
#define CASSANDRA_INTEGRATION_TYPED_TEST_P(test_case, test_name) \

cpp-driver/gtests/src/integration/simulacron/simulacron_integration.hpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@
2222
#include <uv.h>
2323

2424
// Macros to use for grouping Simulacron integration tests together
25-
#define SIMULACRON_TEST_NAME(test_name) Integration##_##simulacron##_##test_name
25+
#define SIMULACRON_INTEGRATION_TEST(test_case, test_name) \
26+
INTEGRATION_TEST(Simulacron, test_case, test_name)
2627
#define SIMULACRON_INTEGRATION_TEST_F(test_case, test_name) \
27-
INTEGRATION_TEST_F(simulacron, test_case, test_name)
28+
INTEGRATION_TEST_F(Simulacron, test_case, test_name)
2829
#define SIMULACRON_INTEGRATION_TYPED_TEST_P(test_case, test_name) \
29-
INTEGRATION_TYPED_TEST_P(simulacron, test_case, test_name)
30+
INTEGRATION_TYPED_TEST_P(Simulacron, test_case, test_name)
3031

3132
#define CHECK_SIMULACRON_AVAILABLE \
3233
if (!sc_) { \

cpp-driver/gtests/src/integration/test_category.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
const TestCategory TestCategory::CASSANDRA("CASSANDRA", 0, "Cassandra", "*_Cassandra_*");
2424
const TestCategory TestCategory::DSE("DSE", 1, "DataStax Enterprise", "*_DSE_*");
2525
const TestCategory TestCategory::SIMULACRON("SIMULACRON", SHRT_MAX, "Simulated DSE (and Cassandra)",
26-
"*_simulacron_*");
26+
"*_Simulacron_*");
2727

2828
// Static declarations for test type
2929
std::set<TestCategory> TestCategory::constants_;

cpp-driver/gtests/src/integration/tests/test_cluster.cpp

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@
1414
limitations under the License.
1515
*/
1616

17-
#include "objects/cluster.hpp"
17+
#include "integration.hpp"
18+
19+
class ClusterTests : public Integration {
20+
public:
21+
ClusterTests() {
22+
is_ccm_requested_ = false;
23+
}
24+
};
1825

1926
/**
2027
* Set local dc to null for dc-aware lbp
@@ -23,7 +30,7 @@
2330
* @test_category configuration
2431
* @expected_result Error out because it is illegal to specify a null local-dc.
2532
*/
26-
TEST(ClusterTest, SetLoadBalanceDcAwareNullLocalDc) {
33+
CASSANDRA_INTEGRATION_TEST_F(ClusterTests, SetLoadBalanceDcAwareNullLocalDc) {
2734
test::driver::Cluster cluster;
2835
EXPECT_EQ(CASS_ERROR_LIB_BAD_PARAMS,
2936
cass_cluster_set_load_balance_dc_aware(cluster.get(), NULL, 99, cass_false));
@@ -36,7 +43,7 @@ TEST(ClusterTest, SetLoadBalanceDcAwareNullLocalDc) {
3643
* @test_category configuration
3744
* @expected_result CASS_ERROR_LIB_BAD_PARAMS.
3845
*/
39-
TEST(ClusterTest, ExponentialReconnectionPolicyBadParameters) {
46+
CASSANDRA_INTEGRATION_TEST_F(ClusterTests, ExponentialReconnectionPolicyBadParameters) {
4047
test::driver::Cluster cluster;
4148

4249
// Base delay must be greater than 1
@@ -54,7 +61,7 @@ TEST(ClusterTest, ExponentialReconnectionPolicyBadParameters) {
5461
* @test_category configuration
5562
* @expected_result CASS_ERROR_LIB_BAD_PARAMS.
5663
*/
57-
TEST(ClusterTest, SecureConnectionBundleBadParameters) {
64+
CASSANDRA_INTEGRATION_TEST_F(ClusterTests, SecureConnectionBundleBadParameters) {
5865
test::driver::Cluster cluster;
5966

6067
EXPECT_EQ(CASS_ERROR_LIB_BAD_PARAMS, cass_cluster_set_cloud_secure_connection_bundle_n(

0 commit comments

Comments
 (0)