1. 30 May, 2018 3 commits
  2. 29 May, 2018 2 commits
  3. 28 May, 2018 6 commits
    • Nick Craver's avatar
      This is a relatively minor pass at simplifying the connect logic. · d7c72b05
      Nick Craver authored
      This was an expedition, but here's the history:
      - There are 2 forks in the connection logic
       - One for Mono (the DnsEndpoint split, see #20 and #155)
       - One for .BeginConnect() and one for ConnectAsync (because netstandard1.x was "async all the things!")
      - There's a behind-the-scenes fork on completion type, but for actual library consumers (and not tests), it was always .Any, which was effectively .Sync.
      
      There was also a critical bug fix in #113 that unfortuantely added a lot of complexity here. The maintenance problem is this complexity wasn't even used, as far as I can tell. It was only ever exposed to even be possibly used in the test project. So we had complicated connection logic, only for the sake of testing it. Unless I'm an idiot, which is entirely possible.
      
      This commit removes that logic and simplifies things, as a first step that's a unit in itself. It does not fix Mono. There are other issues there, but thanks to WSL I can readily run the test suite under Mono on Linux now. Mono has a littany of other issues which I'll comment on in #314.
      
      The most important thing here is that we don't regress what was fixed in #113, as this doesn't readily show in tests.
      d7c72b05
    • Nick Craver's avatar
      b987ab3f
    • Nick Craver's avatar
      Add tests for #729 · e4ef33bd
      Nick Craver authored
      e4ef33bd
    • Nick Craver's avatar
      beb9b46f
    • Jaap Taal's avatar
      Makes Exception constructors public · 51ba2383
      Jaap Taal authored
      In unit tests mocking out an IDatabase with implementations that throw
      an error was not possible. Constructing the Exception instances wasn't
      accessible in user code. It is now.
      51ba2383
    • Nick Craver's avatar
      Include console runner for Mono testing · bb8eeb96
      Nick Craver authored
      bb8eeb96
  4. 27 May, 2018 3 commits
    • Nick Craver's avatar
      Add timestamps to test output · b176cdbb
      Nick Craver authored
      A lot of connections are ridiculously slow even to localhost at least in testing...let's timestamp the output (including milliseconds) so we can see what's happening.
      b176cdbb
    • Nick Craver's avatar
      Add test for #823 · f916a5bd
      Nick Craver authored
      This is working as-design as ITransaction : IBatch and it's not safe in either, but adding a test to ensure it's performing correctly.
      f916a5bd
    • Andrew Kramarev's avatar
      Mistyping in parameter name (#837) · 0136dfd5
      Andrew Kramarev authored
      The article is about minIoThreads, but example use maxIoThreads
      0136dfd5
  5. 15 May, 2018 1 commit
  6. 09 May, 2018 1 commit
  7. 30 Apr, 2018 1 commit
  8. 05 Apr, 2018 2 commits
  9. 04 Apr, 2018 11 commits
  10. 23 Mar, 2018 1 commit
  11. 22 Mar, 2018 6 commits
    • Nick Craver's avatar
      Optimize test times a bit · 82e68d6c
      Nick Craver authored
      82e68d6c
    • Nick Craver's avatar
      Greatly reduce race condition on .MakeMaster() calls at low-latency. · 88dcf0c9
      Nick Craver authored
      This was breaking integration tests but affects all zero-latency server situations. There's a good description in code, but the basics are a race between a broadcast (which goes first) and the post-SLAVEOF reconfig (which loses) creates a situation where the proper topology isn't seen until the next reconfig time span pass.
      
      We now prevent that broadcast (we're broadcasting to ourselves) from running on ourselves because we're about to run another one anyway. This doesn't 100% eliminate the race because there's a minute chance of a pub/sub landing between the 2 if blocks here in an external Interlock. But the chance is crazy small now, at least.
      
      Note: the logging of *why* a reconfig didn't run is now enhanced as well. We log what was trying to run and what was blocking it in the output for much easier debugging next time.
      88dcf0c9
    • Nick Craver's avatar
      Auto-props cleanup · e11171dc
      Nick Craver authored
      e11171dc
    • Nick Craver's avatar
      Message: line endings · c76b249d
      Nick Craver authored
      c76b249d
    • Nick Craver's avatar
      2e5923b0
    • Nick Craver's avatar
      Cleanup: ServerEndpoint · d5fff16f
      Nick Craver authored
      d5fff16f
  12. 21 Mar, 2018 3 commits