Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ProcessList schema integration test failure #1603

@bgrainger

Description

@bgrainger

Software versions
MySqlConnector version: 2.5.0 Beta 1
Server type (MySQL, MariaDB, Aurora, etc.) and version: MySQL Community 9.4
.NET version: 8.0

Describe the bug

Integration test failed: https://dev.azure.com/mysqlnet/MySqlConnector/_build/results?buildId=3611&view=logs&j=4d819c33-5648-54bf-189f-e6b439a9490a&t=a52611b8-69e8-5ba0-b310-a1c9d15d9380&s=96ac2280-8cb4-5df5-99de-dd2da759617d

Exception

IntegrationTests.SchemaProviderTests.GetSchema(schemaName: "ProcessList", expectedSchemaName: null) [FAIL]
  Failed IntegrationTests.SchemaProviderTests.GetSchema(schemaName: "ProcessList", expectedSchemaName: null) [2 ms]
  Error Message:
   MySqlConnector.MySqlException : Cannot convert string '\x941i\x1B\xB6L...' from utf8mb4 to utf8mb3
  Stack Trace:
     at MySqlConnector.Core.ServerSession.ReceiveReplyAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ServerSession.cs:line 1120
   at MySqlConnector.Core.ResultSet.ScanRowAsync(IOBehavior ioBehavior, Row row, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 241
   at MySqlConnector.Core.ResultSet.ReadAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/ResultSet.cs:line 204
   at MySqlConnector.Core.SchemaProvider.FillDataTableAsync(IOBehavior ioBehavior, DataTable dataTable, Action`1 configureCommand, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/SchemaProvider.cs:line 432
   at MySqlConnector.Core.SchemaProvider.FillDataTableAsync(IOBehavior ioBehavior, DataTable dataTable, String tableName, List`1 columns, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/SchemaProvider.cs:line 388
   at MySqlConnector.Core.SchemaProvider.FillProcessListAsync(IOBehavior ioBehavior, DataTable dataTable, String tableName, String[] restrictionValues, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/SchemaProvider.g.cs:line 518
   at MySqlConnector.Core.SchemaProvider.GetSchemaAsync(IOBehavior ioBehavior, String collectionName, String[] restrictionValues, CancellationToken cancellationToken) in /_/src/MySqlConnector/Core/SchemaProvider.g.cs:line 46
   at MySqlConnector.MySqlConnection.GetSchema(String collectionName) in /_/src/MySqlConnector/MySqlConnection.cs:line 746
   at IntegrationTests.SchemaProviderTests.GetSchema(String schemaName, String expectedSchemaName) in /_/tests/IntegrationTests/SchemaProviderTests.cs:line 151
   at InvokeStub_SchemaProviderTests.GetSchema(Object, Span`1)
   at System.Reflection.MethodBaseInvoker.InvokeWithFewArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions