On Mon, Nov 18, 2024 at 19:24:22 +0530, Harikumar R wrote: > From: Chun Feng Wu <danielwuwy@xxxxxxx> > > Test throttle group APIs > > * Extract common methods for both "testDomainSetThrottleGroup" and "testDomainSetBlockIoTune": > testDomainValidateBlockIoTune, testDomainSetBlockIoTuneFields, > testDomainCheckBlockIoTuneMutualExclusion, testDomainCheckBlockIoTuneMax > * Test "Set": testDomainSetThrottleGroup > * Test "Get": testDomainGetThrottleGroup > * Test "Del": testDomainDelThrottleGroup > > Signed-off-by: Chun Feng Wu <danielwuwy@xxxxxxx> > --- > src/test/test_driver.c | 452 ++++++++++++++++++++++++++++++----------- > 1 file changed, 330 insertions(+), 122 deletions(-) I'm guessing this will need some modifications similarly to the real impl but I won't really bother reviewing this in detail for now. This can be committed later in case there are problems.