You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "nickva (via GitHub)" <gi...@apache.org> on 2023/01/26 18:25:20 UTC

[GitHub] [couchdb] nickva commented on pull request #4406: Fix flaky windows test

nickva commented on PR #4406:
URL: https://github.com/apache/couchdb/pull/4406#issuecomment-1405420902

   > ::in function chttpd_security_tests:create_db/1 (test/eunit/chttpd_security_tests.erl, line 60)
   in call from chttpd_security_tests:setup/0 (test/eunit/chttpd_security_tests.erl, line 47)
   **error:{badmatch,{error,connection_closed}}
   
   Hmm, that one is unexpected. We just trying to create a db with a PUT and we should expect that to always work:
   
   https://github.com/apache/couchdb/blob/23efd8e5b1aa96ef01640fec03a5fedc945ba8b9/src/chttpd/test/eunit/chttpd_security_tests.erl#L60
   
   With the small buffer socket test, I can see how connection might be closed suddenly or in a different way on Windows but the simple doc PUT in a security test setup points to something else going on.
   
   Could we be running out of sockets? Not sure descriptor limit a thing on Windows?. Try running just that one security test separately, wonder if that would fail.
   
   Another idea is that there is a genuine race or bug somewhere in couch/ibrowse/mochiweb/erlang vm code that is exposed on Windows only.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@couchdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org