Skip to content

Commit 6a6264d

Browse files
committed
Remove ServerFeatures.BulkCopyDataTable.
Signed-off-by: Bradley Grainger <[email protected]>
1 parent f7b4ef9 commit 6a6264d

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ jobs:
136136
arguments: '-c Release -f net6.0 --no-restore'
137137
testRunTitle: ${{ format('{0}, $(Agent.OS), {1}, {2}', 'Azure', 'net6.0', 'SSL') }}
138138
env:
139-
DATA__UNSUPPORTEDFEATURES: 'BulkCopyDataTable,CachingSha2Password,Ed25519,GlobalLog,KnownCertificateAuthority,QueryAttributes,RsaEncryption,Sha256Password,Timeout,Tls11,Tls13,UnixDomainSocket'
139+
DATA__UNSUPPORTEDFEATURES: 'CachingSha2Password,Ed25519,GlobalLog,KnownCertificateAuthority,QueryAttributes,RsaEncryption,Sha256Password,Timeout,Tls11,Tls13,UnixDomainSocket'
140140
DATA__CONNECTIONSTRING: "$(AzureConnectionString);database=mysqltest;ssl mode=Required;DefaultCommandTimeout=3600;AllowPublicKeyRetrieval=True"
141141

142142
- job: windows_integration_tests_1

tests/SideBySide/BulkLoaderAsync.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ public void BulkCopyNullDataTable()
433433
Assert.ThrowsAsync<ArgumentNullException>(async () => await bulkCopy.WriteToServerAsync(default(DataTable)));
434434
}
435435

436-
[SkippableFact(ServerFeatures.BulkCopyDataTable)]
436+
[Fact]
437437
public async Task BulkCopyDataTableWithLongData()
438438
{
439439
var dataTable = new DataTable()
@@ -557,7 +557,7 @@ public async Task BulkCopyAbort(int notifyAfter, int rowCount, int abortAfter, i
557557
Assert.Equal(expectedCount, await cmd.ExecuteScalarAsync());
558558
}
559559

560-
[SkippableFact(ServerFeatures.BulkCopyDataTable)]
560+
[Fact]
561561
public async Task BulkCopyDataTableWithWarnings()
562562
{
563563
var dataTable = new DataTable()

tests/SideBySide/BulkLoaderSync.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ public void BulkCopyNullDataTable()
515515
Assert.Throws<ArgumentNullException>(() => bulkCopy.WriteToServer(default(DataTable)));
516516
}
517517

518-
[SkippableFact(ServerFeatures.BulkCopyDataTable)]
518+
[Fact]
519519
public void BulkCopyDataTableWithLongBlob()
520520
{
521521
var dataTable = new DataTable()
@@ -554,7 +554,7 @@ public void BulkCopyDataTableWithLongBlob()
554554
}
555555
}
556556

557-
[SkippableTheory(ServerFeatures.LargePackets | ServerFeatures.BulkCopyDataTable)]
557+
[SkippableTheory(ServerFeatures.LargePackets)]
558558
[InlineData(6)]
559559
[InlineData(12)]
560560
[InlineData(21)]
@@ -620,7 +620,7 @@ public void BulkCopyDataTableWithLongData(int rows)
620620
}
621621
}
622622

623-
[SkippableFact(ServerFeatures.BulkCopyDataTable)]
623+
[Fact]
624624
public void BulkCopyDataTableWithSpecialCharacters()
625625
{
626626
var dataTable = new DataTable()
@@ -922,7 +922,7 @@ public void BulkCopyDoesNotInsertAllRows()
922922
Assert.Equal(MySqlErrorCode.BulkCopyFailed, ex.ErrorCode);
923923
}
924924

925-
[SkippableFact(ServerFeatures.BulkCopyDataTable)]
925+
[Fact]
926926
public void BulkCopyDataTableWithWarnings()
927927
{
928928
var dataTable = new DataTable()

tests/SideBySide/ServerFeatures.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ public enum ServerFeatures
2525
ZeroDateTime = 0x4_0000,
2626
QueryAttributes = 0x8_0000,
2727
GlobalLog = 0x10_0000,
28-
BulkCopyDataTable = 0x20_0000,
2928
}

0 commit comments

Comments
 (0)