The present invention relates to the field of storage technologies, and in particular, to a testing method, device, equipment,
system, medium, and product. The method includes: in the real
working environment of a
disk array controller
chip, obtaining a
test management command that characterizes an input / output management command for error injection;
parsing the command to obtain an error
injection test type and corresponding relevant parameters, and changing the error handling mode according to the error
injection test type, so that when an exception is encountered during the test, only reporting is performed without
processing, avoiding interference of
exception handling with the test process, and ensuring that the test can proceed smoothly according to a preset error injection
scenario; constructing a simulated input / output according to the error
injection test type and relevant parameters and injecting it into a target hardware unit for execution behavior testing, realizing precise testing of a specific hardware unit under a specific error
scenario in an environment where input / output testing is performed based on a read / write input / output
test program, making the test more comprehensive and having a higher testing accuracy.