diff --git a/server/AyaNova/Startup.cs b/server/AyaNova/Startup.cs index b81c502b..678c9d0a 100644 --- a/server/AyaNova/Startup.cs +++ b/server/AyaNova/Startup.cs @@ -363,7 +363,7 @@ namespace AyaNova // ******************** TESTING WIPE DB ***************************** // //Set this to true to wipe the db and reinstall a trial license and re-seed the data - var TESTING_REFRESH_DB = true; + var TESTING_REFRESH_DB = false; #if (DEBUG) //TESTING diff --git a/server/AyaNova/biz/ImportAyaNova7Biz.cs b/server/AyaNova/biz/ImportAyaNova7Biz.cs index 97850bd2..7615c9e3 100644 --- a/server/AyaNova/biz/ImportAyaNova7Biz.cs +++ b/server/AyaNova/biz/ImportAyaNova7Biz.cs @@ -238,7 +238,7 @@ namespace AyaNova.Biz ////////////////////////////////////////////////////////////////// //UTILITIES - internal static async Task LogEventCreatedModifiedEvents(JObject j, List importMap, AyaType ayaType, AyContext ct) + internal static void LogEventCreatedModifiedEvents(JObject j, List importMap, AyaType ayaType, AyContext ct) { var V7Id = new Guid(j["ID"].Value()); var RavenId = importMap.Where(m => m.V7ObjectId == V7Id).First().NewObjectAyaTypeId.ObjectId; @@ -252,7 +252,7 @@ namespace AyaNova.Biz EventLogProcessor.LogEventToDatabase(new Event(Creator, RavenId, ayaType, AyaEvent.Created, Created), ct); //MODIFIED EventLogProcessor.LogEventToDatabase(new Event(Modifier, RavenId, ayaType, AyaEvent.Modified, Modified), ct); - + } ///////////////////////////////////////////////////////////////////// diff --git a/server/AyaNova/biz/TagBiz.cs b/server/AyaNova/biz/TagBiz.cs index 0c6f8537..df7f3fec 100644 --- a/server/AyaNova/biz/TagBiz.cs +++ b/server/AyaNova/biz/TagBiz.cs @@ -400,7 +400,7 @@ namespace AyaNova.Biz await ct.SaveChangesAsync(); var mapItem = new ImportAyaNova7MapItem(OldV7Id, AyaType.Tag, o.Id); importMap.Add(mapItem); - await ImportAyaNova7Biz.LogEventCreatedModifiedEvents(j, importMap, AyaType.Tag, ct); + ImportAyaNova7Biz.LogEventCreatedModifiedEvents(j, importMap, AyaType.Tag, ct); } } #endregion diff --git a/server/AyaNova/biz/UserBiz.cs b/server/AyaNova/biz/UserBiz.cs index c4ec3b5f..7275f374 100644 --- a/server/AyaNova/biz/UserBiz.cs +++ b/server/AyaNova/biz/UserBiz.cs @@ -759,7 +759,7 @@ namespace AyaNova.Biz break; case "eventlog": { - await ImportAyaNova7Biz.LogEventCreatedModifiedEvents(j, importMap, BizType, ct); + ImportAyaNova7Biz.LogEventCreatedModifiedEvents(j, importMap, BizType, ct); } break; case "locale": diff --git a/test/raven-integration/burntest.bat b/test/raven-integration/burntest.bat new file mode 100644 index 00000000..acdcbee1 --- /dev/null +++ b/test/raven-integration/burntest.bat @@ -0,0 +1,11 @@ +SET /a VAR=0 +:HOME +SET /a VAR=VAR+1 + +IF %VAR%==1000 goto :End + +dotnet test + +goto :HOME + +:END \ No newline at end of file