We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a55003 commit 45630a4Copy full SHA for 45630a4
driver-core/src/test/functional/com/mongodb/ClusterFixture.java
@@ -134,7 +134,7 @@ public static boolean supportsFsync() {
134
Document serverStatus = getServerStatus();
135
Document storageEngine = (Document) serverStatus.get("storageEngine");
136
137
- return !storageEngine.get("name").equals("inMemory");
+ return storageEngine != null && !storageEngine.get("name").equals("inMemory");
138
}
139
140
private static ServerVersion getConnectedServerVersion() {
0 commit comments