We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411e779 commit 98b9b47Copy full SHA for 98b9b47
tests/CommunityToolkit.Datasync.TestCommon/Databases/MySQL/MysqlDbContext.cs
@@ -18,7 +18,7 @@ public static MysqlDbContext CreateContext(string connectionString, ITestOutputH
18
}
19
20
DbContextOptionsBuilder<MysqlDbContext> optionsBuilder = new DbContextOptionsBuilder<MysqlDbContext>()
21
- .UseMySql(connectionString: connectionString, serverVersion: ServerVersion.AutoDetect(connectionString))
+ .UseMySql(connectionString: connectionString, serverVersion: ServerVersion.AutoDetect(connectionString), options => options.EnableRetryOnFailure())
22
.EnableLogging(output);
23
MysqlDbContext context = new(optionsBuilder.Options);
24
0 commit comments