Both were written at the same time, both deal with ocean adventures, and both (IMHO) are much longer than they need to be.
Then you can have multiple Jules tests, depending on occasion!
It’s been a long time since I read the book but it was doubtless one of the most enjoyable I’ve read.
I haven’t read moby dick but i dropped 20’000 leagues under the see a bit past half the book because of this. At some point the author spent pages and pages and pages describing the environment under the see, often repeating himself.
I’ll get back to that book at some point but yes, it’s longer than it needs to be.
Something that helps me is just giving myself license to skip stuff. It's usually better I finish a book since I will never come back to it. So I just jump around a few pages if I get bored.