fix: fix ICE in custom-test-frameworks
feature
#109301
Merged
custom-test-frameworks
feature
#109301