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 bcc008b commit 507e89eCopy full SHA for 507e89e
Services/Administration/OJS.Services.Administration.Business/Contests/ContestsImportBusinessService.cs
@@ -290,8 +290,11 @@ private async Task UpdateContest(
290
existingProblem.Resources.Clear();
291
existingProblem.SubmissionTypesInProblems.Clear();
292
293
- // Delete test runs for the problem, as they are no longer valid after importing new tests
294
- await testRunsData.DeleteByProblem(existingProblem.Id);
+ if (!dryRun)
+ {
295
+ // Delete test runs for the problem, as they are no longer valid after importing new tests
296
+ await testRunsData.DeleteByProblem(existingProblem.Id);
297
+ }
298
}
299
300
// Update problem properties
0 commit comments