[CDRIVER-983] Windows testing instructions Created: 03/Nov/15  Updated: 31/Aug/16  Resolved: 31/Aug/16

Status: Closed
Project: C Driver
Component/s: docs, tests
Affects Version/s: 1.2.1
Fix Version/s: 1.5.0

Type: Bug Priority: Major - P3
Reporter: Alex Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

windows 7 x64, visual studio 2010/2013, mongodb 3.0.7(latest stable)


Attachments: PNG File mongo-c-driver-ssl.png     PNG File mongo-c-driver.png    

 Description   

A lot of test fails on windows without ssl. More test fails with sll. See attachments.



 Comments   
Comment by Hannes Magnusson [ 31/Aug/16 ]

Closing this as gone away. I'm not entirely sure what this ticket was about, other then notifying us of test failures on Windows.

We have pretty extensive test suite on Windows now, without SSL support, OpenSSL support and Windows Secure Channel.
Along with 32 and 64bit variations (except only 64bit openssl test).

See: https://evergreen.mongodb.com/waterfall/mongo-c-driver

Comment by A. Jesse Jiryu Davis [ 04/Nov/15 ]

The "failed to attach tls stream" error with SSL can be fixed if generate the test certificates. We do this in a Cygwin command shell with Perl and OpenSSL installed, like so:

export PATH=$PATH:`pwd`/tests
./tests/make_ca.pl tests/trust_dir tests/trust_dir.cnf
touch tests/trust_dir/done

The timing errors, like in "/Client/rs_seeds_connect/single", are interesting. We may need to look at those more closely on our own win32 test system.

Comment by Alex [ 03/Nov/15 ]

Could you please provide setup instructions ASAP? So we can migrate on latest driver version and make sure it works fine.

Comment by A. Jesse Jiryu Davis [ 03/Nov/15 ]

They pass on our system, but it requires some setup. We need more info in the CONTRIBUTING doc about how to run the tests in Windows.

Generated at Wed Feb 07 21:11:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.