m2 icon indicating copy to clipboard operation
m2 copied to clipboard

Stress Tests

Open chemistry-sourabh opened this issue 8 years ago • 3 comments

There are some issues in BMI which do not happen regularly like target deletion failing in TGT. It is a good idea to add stress tests that will expose such issues.

chemistry-sourabh avatar Feb 23 '17 15:02 chemistry-sourabh

I agree. @sirushtim @ravisantoshgudimetla Any suggestions on how to proceed on this?

apoorvemohan avatar Feb 23 '17 17:02 apoorvemohan

I think, this is less priority as of now but I guess, its better to have one more tests folder apart from unit and integration which has stress tests alone.

Example: For tgt, as a start create 100 targets and delete them. They could be done in parallel as well.

ravisantoshgudimetla avatar Feb 24 '17 03:02 ravisantoshgudimetla

Yeah, I agree, once we're done with unit and functional tests, we can then move on to add stress tests to handle edge cases.

An idea to test for intermittent issues would be to execute parallel bmi pro/dpro threads in a loop and randomly write rules that will block API calls made by BMI to a service, for example, block traffic to Ceph API via IPTables, kill the tgt service, etc. This will test BMI's resilience. So I agree with @ravig, I don't think we're at that stage yet so this isn't p1 priority IMO.

sirushtim avatar Mar 02 '17 19:03 sirushtim