Re: Ye old singleton debate

2017-03-15 Thread Ali Akhtar
+1. Would be awesome if this could be mocked / tested. On Thu, Mar 16, 2017 at 3:47 AM, Edward Capriolo wrote: > This question came up today: > > OK, say you mock, how do you construct a working multi-process > representation of how C* actually works from within a unit

Ye old singleton debate

2017-03-15 Thread Edward Capriolo
This question came up today: OK, say you mock, how do you construct a working multi-process representation of how C* actually works from within a unit test without running the code that actually constructs the cluster? 1) Don't do that (construct a multinode cluster in a test) just mock the crap