Testing for cases when the cache is under pressure due to slow consumers. The assumption here is that the Cache TimeSpan is 5sec and the size is 5 messages.
Exemple #1
0
 public KafkaPressureCacheTests() : base(new TestingSiloOptions()
 {
     StartFreshOrleans = false,
     StartSecondary    = false,
     SiloConfigFile    = new FileInfo("OrleansConfigurationForPressureTests.xml"),
 })
 {
     _runner = new PressuredCacheTestRunner(KafkaStreamProviderName, logger);
 }
 public KafkaPressureCacheTests() : base( new TestingSiloOptions()
     {
         StartFreshOrleans = false,
         StartSecondary = false,
         SiloConfigFile = new FileInfo("OrleansConfigurationForPressureTests.xml"),
     })
 {
     _runner = new PressuredCacheTestRunner(KafkaStreamProviderName, logger);
     _host = this;
 }