Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Virgile JARRY
cloudfrag
Commits
5ee2e9a1
Commit
5ee2e9a1
authored
Mar 26, 2016
by
Virgile JARRY
Browse files
?
parent
dc3d1974
Changes
1
Hide whitespace changes
Inline
Side-by-side
code/tests/tests.js
View file @
5ee2e9a1
...
...
@@ -231,7 +231,7 @@ MongoClient.connect(urlStorage, function(err1, dbStorage)
if
(
docs
.
length
>
0
)
{
tousFichiersSupprimes
=
false
;
console
.
log
(
"
fragment pas supprimé
"
+
docs
.
length
);
console
.
log
(
"
fragment pas supprimé
"
+
m3
.
filename
+
"
"
+
docs
.
length
);
}
if
(
m3
==
lesMetadata
[
lesMetadata
.
length
-
1
]
&&
frag
==
m3
.
fragments
[
m3
.
fragments
.
length
-
1
])
...
...
@@ -259,6 +259,7 @@ MongoClient.connect(urlStorage, function(err1, dbStorage)
// ############################################
// ############################################
setTimeout
(
function
(){
console
.
log
(
"
fermeture des bases de données
"
);
dbStorage
.
close
();
dbMeta
.
close
();
},
1000
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment