OpenLiberty / liberty-tools-intellij

IntelliJ IDEA extension for Liberty
https://plugins.jetbrains.com/plugin/14856-open-liberty-tools
Eclipse Public License 2.0
13 stars 26 forks source link

Unable to insert entry in config file : server.env in LINUX & Windows #988

Closed anusreelakshmi934 closed 1 week ago

anusreelakshmi934 commented 2 months ago

In Linux While running the UI Tests, In the test GradleSingleModLSTest > testInsertLibertyConfigIntoServerEnv() we are getting a failure.

Build link - https://github.com/anusreelakshmi934/liberty-tools-intellij/actions/runs/10953290952/job/30413321818#step:10:1120

GradleSingleModLSTest > testInsertLibertyConfigIntoServerEnv() FAILED java.lang.RuntimeException: Unable to insert entry in config file : server.env using text: WLP_LOGGING_CON

Attaching the failure video.

https://github.com/user-attachments/assets/4c4ca166-1a38-4cfa-b028-eaa79970c73a

The correct test should get suggestions while typing WLP_LOGGING_CON and should click on the suggestion given. But here it is not getting suggestions.

turkeylurkey commented 2 months ago

Similar Mac error: https://github.com/OpenLiberty/liberty-tools-intellij/issues/973

turkeylurkey commented 2 months ago

This is related to the hover test using the word NONE because they are in the same test case and both use the same language server.

image

First we insert using completion and then type NONE to test hover.

vaisakhkannan commented 1 month ago

Found similar issue on Windows GHA Builds today:

https://github.com/user-attachments/assets/86a34431-4ab1-4142-a833-d859fe7564e0

anusreelakshmi934 commented 1 week ago

Closing the issue as a fix has been merged, which resolves this problem. The issue is no longer reproducible.