ChrisHegarty commented on PR #13196:
URL: https://github.com/apache/lucene/pull/13196#issuecomment-2014875051
>..
> It is always a good idea to run one of those tests with
`-Ptests.verbose=true` to see if the INFO mesage about madvise is enabled is
printed on console:
>
> ```
> thetaphi@serv1:~/repro/lucene$ ./gradlew :lucene:core:test --tests
TestDirectoryReader -Ptests.directory=MMapDirectory -Ptests.verbose=true | grep
madvise
> ...
Yes that's better. I been just running a modified test locally where I
eyeball the output. Here is the output on my machine (same was your output)
```
$ ./gradlew :lucene:core:test --tests TestDirectoryReader
-Ptests.directory=MMapDirectory -Ptests.verbose=true | grep madvise
2> INFO: posix_madvise() available on this platform
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
WARNING: Using incubator modules: jdk.incubator.vector
WARNING: A command line option has enabled the Security Manager
WARNING: The Security Manager is deprecated and will be removed in a future
release
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]