File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -865,7 +865,7 @@ mod tests {
865865 // We really need this env to be dropped before the read-only access.
866866 let env = unsafe {
867867 EnvOpenOptions :: new ( )
868- . map_size ( 16 * 1024 * 1024 * 1024 ) // 10MB
868+ . map_size ( 10 * 1024 * 1024 ) // 10MB
869869 . max_dbs ( 32 )
870870 . open ( dir. path ( ) )
871871 . unwrap ( )
@@ -885,7 +885,7 @@ mod tests {
885885 // Open now we do a read-only opening
886886 let env = unsafe {
887887 EnvOpenOptions :: new ( )
888- . map_size ( 16 * 1024 * 1024 * 1024 ) // 10MB
888+ . map_size ( 10 * 1024 * 1024 ) // 10MB
889889 . max_dbs ( 32 )
890890 . open ( dir. path ( ) )
891891 . unwrap ( )
@@ -915,7 +915,7 @@ mod tests {
915915 // Open now we do a read-only opening
916916 let env = unsafe {
917917 EnvOpenOptions :: new ( )
918- . map_size ( 16 * 1024 * 1024 * 1024 ) // 10MB
918+ . map_size ( 10 * 1024 * 1024 ) // 10MB
919919 . max_dbs ( 32 )
920920 . open ( dir. path ( ) )
921921 . unwrap ( )
You can’t perform that action at this time.
0 commit comments