-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.js
More file actions
37 lines (34 loc) · 893 Bytes
/
test.js
File metadata and controls
37 lines (34 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// dns trafficTest db atlas cluster
function main_server() {
console.log("SERVER CHECKING STARTS");
(() => {
setTimeout(() => {
console.log("DNS Checking...");
console.log("DNS Checking Successfull and testing traffic...");
}, 2000);
})();
(() => {
setTimeout(() => {
console.log("Traffic Testing...");
console.log("Traffic Testing Successfull and DB Analysis...");
}, 5000);
})();
(() => {
setTimeout(() => {
console.log("Atlas Checking...");
console.log("Atlas Checking Successfull and Cluster Checking...");
}, 7000);
})();
(() => {
setTimeout(() => {
console.log("Cluster Checking...");
console.log("Cluster Checking Successfull");
}, 9000);
})();
(() => {
setTimeout(() => {
console.log("**SERVER RUNNING AND READY TO CONNECT**");
}, 12000);
})();
}
main_server();