mchades commented on code in PR #8950:
URL: https://github.com/apache/gravitino/pull/8950#discussion_r2471572184
##########
clients/filesystem-hadoop3/src/test/java/org/apache/gravitino/filesystem/hadoop/TestGvfsBase.java:
##########
@@ -290,6 +290,12 @@ public void testRequestHeaders()
.withBody(getJsonString(new
VersionResponse(Version.getCurrentVersionDTO()))));
try (FileSystem fs = new
Path("gvfs://fileset/").getFileSystem(configuration)) {
+ // Trigger lazy initialization by accessing a path
+ try {
+ fs.exists(new Path("gvfs://fileset/catalog/schema/fileset/file.txt"));
+ } catch (Exception e) {
+ // Ignore errors, we just want to trigger client initialization
Review Comment:
Should we throw the exception?
--
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]