Skip to content

Commit 303f785

Browse files
github-actions[bot]David Ellingsworth
authored andcommitted
Generate async files
1 parent 883c997 commit 303f785

File tree

1 file changed

+6
-3
lines changed
  • src/NHibernate.Test/Async/NHSpecificTest/GH3530

1 file changed

+6
-3
lines changed

src/NHibernate.Test/Async/NHSpecificTest/GH3530/Fixture.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,12 @@ protected override void OnTearDown()
5050

5151
protected override void CreateSchema()
5252
{
53-
// Let the SchemaExporter drop and create tables if needed.
54-
base.CreateSchema();
55-
5653
CreateTable("Integer");
5754
CreateTable("DateTime");
5855
CreateTable("Double");
5956
CreateTable("Decimal");
57+
58+
base.CreateSchema();
6059
}
6160

6261
/// <summary>
@@ -95,6 +94,10 @@ private void CreateTable(string name)
9594
cmd.ExecuteNonQuery();
9695
}
9796
}
97+
catch (Exception ex)
98+
{
99+
Assert.Warn($"Creating the schema failed, assuming it already exists. {ex}");
100+
}
98101
finally
99102
{
100103
Sfi.ConnectionProvider.CloseConnection(cn);

0 commit comments

Comments
 (0)