Skip to content

Commit

Permalink
Merge pull request #689 from fatroom/idempotence-plugin
Browse files Browse the repository at this point in the history
Cleanup of IdempotencyPlugin declaration
  • Loading branch information
Willi Schönborn committed Jun 13, 2019
2 parents 574ba67 + ec101a6 commit 40d3038
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package org.zalando.riptide.idempotency;

import org.junit.jupiter.api.Test;
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
import org.zalando.riptide.Http;

import java.util.ServiceConfigurationError;
import java.util.concurrent.Executors;

import static org.junit.jupiter.api.Assertions.fail;

final class IdempotencyPluginTest {
@Test
void testHttpCreation() {
try {
Http.builder()
.executor(Executors.newCachedThreadPool())
.requestFactory(new HttpComponentsClientHttpRequestFactory())
.build();
} catch (ServiceConfigurationError e) {
fail(e.getMessage());
}
}
}

0 comments on commit 40d3038

Please sign in to comment.