Chapter 4: Resiliency

Hi there,

I need help cause i’m stuck and procrastinated due to that.

here is my index.js file

here is my test file

here is my error

What am I missing here ?

Thanks in advance for explanations and help.

Regards,
Rashad

Hi @Rashad_Bayram,
That’s a bit strange, your code looks good to me.
Can you try again after removing the w: "majority"?

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

Failed again.

Hi @Rashad_Bayram, can you take a look at the following discussion:

Let us know if it works or not.

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer

1 Like

To be honest, I didn’t remember those driver errors coming up at the top of the screen when I ran my tests?

Out of interesting what version of mongodb are you running ? I was running 4.2.15 (In a docker container)

I assuming the node drivers you are running are the ones via the NPM Install, which I think are meant to be 3.3.0

I have a mongo version 4.2.0 installed