-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix build #2548
Conversation
@@ -18,19 +19,42 @@ class OpenAPISpec extends Specification { | |||
@Inject | |||
HttpClient client | |||
|
|||
void "test swagger-ui"() { | |||
@Ignore | |||
void "test swagger-ui links"() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@altro3 has the html output changed for swagger-ui and rapid? These tests which verified the links fail now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, links were changed. Chanes here: micronaut-projects/micronaut-openapi#1626
Currently, links to scripts are not explicitly specified, and scripts are loaded dynamically. The code in the test must be changed
public void out(String message) { | ||
emitter.next(message + LINE_SEPARATOR); | ||
} | ||
private String diff(ProjectGenerator projectGenerator, GeneratorContext generatorContext) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yawkat @dstepanov have we changed how Publisher<String>
is managed? I had to change this. The previous code was timing out in the test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise is fails with GraalVM CE 17 ``` > Task :micronaut-cli:nativeCompile FAILED [native-image-plugin] GraalVM Toolchain detection is disabled [native-image-plugin] GraalVM location read from environment variable: JAVA_HOME [native-image-plugin] Native Image executable path: /Users/sdelamo/.sdkman/candidates/java/17.0.9-graalce/lib/svm/bin/native-image Error: Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-native/native-image.properties'. Use -H:PrintFlags= to list all available options. Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal-jna/native-image.properties'. Use -H:PrintFlags= to list all available options. Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal-ffm/native-image.properties'. Use -H:PrintFlags= to list all available options. Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal/native-image.properties'. Use -H:PrintFlags= to list all available options. Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal-jansi/native-image.properties'. Use -H:PrintFlags= to list all available options. Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jline-terminal-jni/native-image.properties'. Use -H:PrintFlags= to list all available options. Could not find option 'UnlockExperimentalVMOptions' from 'jar:file:///Users/sdelamo/.gradle/caches/modules-2/files-2.1/org.jline/jline/3.26.1/ddb96d65e7827ad4c380acea3fa19c59df4b1572/jline-3.26.1.jar!/META-INF/native-image/org.jline/jansi/native-image.properties'. Use -H:PrintFlags= to list all available options. ```
No description provided.