Skip to content

Commit

Permalink
Reset TrainOn between tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Mar 8, 2024
1 parent 8c8e58e commit 4ac87e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Serval.E2ETests/ServalClientHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public async Task ClearEnginesAsync(string name = "")
await TranslationEnginesClient.DeleteAsync(translationEngine.Id);
}
TranslationBuildConfig.Pretranslate = new List<PretranslateCorpusConfig>();
TranslationBuildConfig.TrainOn = null;
_enginePerUser.Clear();
}

Expand Down

0 comments on commit 4ac87e2

Please sign in to comment.