void WaitForEmptyQueue(LiteQueue <int> queue) { while (queue.Count() > 0 && !_consumerFailed) { Thread.Sleep(5); } }
public void Ctor_DbCollectionName() { var logs = new LiteQueue <string>(_db, _collectionName); Assert.AreEqual(0, logs.Count()); }