Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions eo-integration-tests/src/test/java/org/eolang/maven/ProxyIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,26 +27,12 @@
import org.eclipse.jetty.server.handler.ConnectHandler;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

/**
* This tests checks how eo-maven-plugin works when a proxy is set.
* @since 0.60
* @todo #5078:60min Re-enable
* {@code checksThatWeCanCompileTheProgramWithProxySet} once the objectionary
* remote registry is re-published with the new parser's syntax. The test
* runs {@code mvn package} through a local proxy; the build pulls runtime
* sources from the registry, and those pulled {@code .eo} files
* ({@code tuple}/{@code seq}/{@code number}/...) still contain pre-spec
* syntax (fluent {@code .method} continuation after horizontal-completed
* lines, the {@code ?} name-suffix modifier, etc.) that the new spec-strict
* parser rejects, so {@code mvn package} fails before the proxy assertion
* ever runs. The local {@code eo-runtime/src/main/eo/} files are already
* rewritten and pass; only the registry needs the matching re-upload. To
* re-enable: publish the updated runtime to objectionary, then drop the
* {@link Disabled} annotation on the method.
*/
@SuppressWarnings("JTCOP.RuleAllTestsHaveProductionClass")
@ExtendWith({WeAreOnline.class, MktmpResolver.class, MayBeSlow.class})
Expand Down Expand Up @@ -74,7 +60,6 @@ void checksThatProxyIsWorking() throws Exception {
}

@Test
@Disabled("registry still serves pre-spec EO sources, see class javadoc")
void checksThatWeCanCompileTheProgramWithProxySet(@Mktmp final Path tmp) throws Exception {
final int port = ProxyIT.free();
final Server proxy = new Server(port);
Expand Down
Loading