Skip to content
Snippets Groups Projects
Commit 6f931edc authored by OZGCloud's avatar OZGCloud
Browse files

OZG-1040 disable async to fix e2e tests

parent f0dff2b8
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ import java.util.Objects; ...@@ -4,7 +4,6 @@ import java.util.Objects;
import java.util.stream.Stream; import java.util.stream.Stream;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import de.itvsh.goofy.common.errorhandling.ResourceNotFoundException; import de.itvsh.goofy.common.errorhandling.ResourceNotFoundException;
...@@ -19,7 +18,8 @@ class PostfachMailService { ...@@ -19,7 +18,8 @@ class PostfachMailService {
@Autowired @Autowired
private PostfachMailRemoteService remoteService; private PostfachMailRemoteService remoteService;
@Async // TODO reenable async
// @Async
public void sendPostfachMail(String commandId, PostfachMail postfachMail) { public void sendPostfachMail(String commandId, PostfachMail postfachMail) {
try { try {
remoteService.sendPostfachMail(commandId, postfachMail); remoteService.sendPostfachMail(commandId, postfachMail);
...@@ -39,7 +39,8 @@ class PostfachMailService { ...@@ -39,7 +39,8 @@ class PostfachMailService {
} }
@Async // TODO reenable async
// @Async
public void resendPostfachMail(String commandId, String postfachMailId) { public void resendPostfachMail(String commandId, String postfachMailId) {
try { try {
remoteService.resendPostfachMail(commandId, postfachMailId); remoteService.resendPostfachMail(commandId, postfachMailId);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment