Browse Source

fix unit tests

master
Savorboard 5 years ago
parent
commit
c3fe35ce72
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/DotNetCore.CAP.MySql.Test/DatabaseTestHost.cs

+ 1
- 1
test/DotNetCore.CAP.MySql.Test/DatabaseTestHost.cs View File

@@ -34,7 +34,7 @@ namespace DotNetCore.CAP.MySql.Test
var storage = GetService<IStorageInitializer>(); var storage = GetService<IStorageInitializer>();
var token = new CancellationTokenSource().Token; var token = new CancellationTokenSource().Token;
CreateDatabase(); CreateDatabase();
storage.InitializeAsync(token).GetAwaiter().GetResult();
storage.InitializeAsync(token);
_sqlObjectInstalled = true; _sqlObjectInstalled = true;
} }
} }


Loading…
Cancel
Save