Skip to content

Commit

Permalink
Fix possible delete files race conditon
Browse files Browse the repository at this point in the history
  • Loading branch information
aleklisi committed May 8, 2019
1 parent 0e05c6f commit 0a9d844
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions big_tests/tests/gdpr_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ init_per_suite(Config) ->
escalus:init_per_suite(Config1).

end_per_suite(Config) ->
delete_files(),
dynamic_modules:restore_modules(domain(), Config),
escalus_fresh:clean(),
escalus:end_per_suite(Config).
Expand Down Expand Up @@ -115,11 +116,7 @@ init_per_testcase(CN, Config) ->
dynamic_modules:ensure_modules(domain(), pubsub_required_modules()),
escalus:init_per_testcase(CN, Config).

end_per_testcase(retrieve_vcard = CN, Config) ->
delete_files(),
escalus:end_per_testcase(CN, Config);
end_per_testcase(CN, Config) ->
delete_files(),
escalus:end_per_testcase(CN, Config).

inbox_required_modules() ->
Expand Down

0 comments on commit 0a9d844

Please sign in to comment.