forked from mysql-net/MySqlConnector
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to work with SingleStore 8.0 and 8.1
Summary: Previously, some tests were failing due to the 'data_conversion_compatibility_level' variable introduced in 8.0.24. In this diff we: - fixed all failing tests - changed/got rid of tests that were expecting different behavior from SingleStore's AUTO_INCREMENT logic (it only guarantees that auto-generated values are unique) - made some changes to CI (switched from clusters to workspaces, removed 'data_conversion_compatibility_level' restriction, no more testing with SingleStore 7.5 and 7.6) Test Plan: https://app.circleci.com/pipelines/github/memsql/SingleStoreNETConnector/326/workflows/1732c57c-af85-4673-ae2e-674a4b4d110c Reviewers: pmishchenko-ua, adrian Reviewed By: pmishchenko-ua Subscribers: engineering-list JIRA Issues: PLAT-6469 Differential Revision: https://grizzly.internal.memcompute.com/D66279
- Loading branch information
1 parent
f744d6f
commit 6cf6551
Showing
14 changed files
with
145 additions
and
290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"Data": { | ||
"ConnectionString": "server=SINGLESTORE_HOST;user id=SQL_USER_NAME;password=SQL_USER_PASSWORD;port=3306;database=singlestoretest", | ||
"UnsupportedFeatures": "CachingSha2Password,Ed25519,QueryAttributes,Tls11,Tls13,UuidToBin,UnixDomainSocket,Sha256Password,GlobalLog" | ||
"UnsupportedFeatures": "CachingSha2Password,Ed25519,QueryAttributes,Tls11,Tls13,UuidToBin,UnixDomainSocket,Sha256Password,GlobalLog", | ||
"ManagedService": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ parameters: | |
connector-version: | ||
type: string | ||
default: "1.1.4" | ||
dotnet-version: | ||
type: string | ||
default: "7.0.404" | ||
|
||
orbs: | ||
win: circleci/[email protected] | ||
|
@@ -50,12 +53,12 @@ jobs: | |
- run: | ||
name: Build project binaries | ||
command: | | ||
choco upgrade dotnet-sdk | ||
choco install dotnet-sdk --version=<< pipeline.parameters.dotnet-version >> | ||
dotnet.exe build -c Release | ||
- run: | ||
name: Start SingleStore for SideBySide tests | ||
command: | | ||
pip install pymysql | ||
pip install singlestoredb | ||
python.exe .circleci\s2ms_cluster.py start singlestoretest | ||
- run: | ||
name: Fill test config | ||
|
@@ -121,7 +124,7 @@ jobs: | |
- run: | ||
name: Build project binaries | ||
command: | | ||
choco upgrade dotnet-sdk | ||
choco install dotnet-sdk --version=<< pipeline.parameters.dotnet-version >> | ||
dotnet.exe build | ||
- run: | ||
name: Creating CI Artifacts directory | ||
|
@@ -156,18 +159,6 @@ workflows: | |
parameters: | ||
singlestore_image: | ||
- singlestore/cluster-in-a-box:alma-7.8.9-e94a66258d-4.0.7-1.13.9 | ||
- test-ubuntu: | ||
name: Test 7.6 cluster-in-a-box | ||
matrix: | ||
parameters: | ||
singlestore_image: | ||
- singlestore/cluster-in-a-box:centos-7.6.9-7d7e13942a-4.0.3-1.13.4 | ||
- test-ubuntu: | ||
name: Test 7.5 cluster-in-a-box | ||
matrix: | ||
parameters: | ||
singlestore_image: | ||
- singlestore/cluster-in-a-box:centos-7.5.12-3112a491c2-4.0.0-1.12.5 | ||
- test-windows: | ||
name: Test S2MS on Windows | ||
publish: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.