github.com/turbot/steampipe@v1.7.0-rc.0.0.20240517123944-7cef272d4458/tests/acceptance/test_data/mods/functionality_test_mod/functionality/plugin_crash.sp (about) 1 benchmark "check_plugin_crash_benchmark" { 2 title = "Benchmark to test the plugin crash bug while running controls" 3 children = [ 4 control.plugin_chaos_test_1, 5 control.plugin_crash_test, 6 control.plugin_chaos_test_2 7 ] 8 } 9 10 control "plugin_chaos_test_1" { 11 title = "Control to query a chaos table" 12 description = "Control to query a chaos table to test all flavours of integer and float data types" 13 sql = query.check_plugincrash_normalquery1.sql 14 severity = "high" 15 } 16 17 control "plugin_crash_test" { 18 title = "Control to simulate a plugin crash" 19 description = "Control to query a chaos table that prints 50 rows and do an os.Exit(-1) to simulate a plugin crash" 20 sql = "select * from chaos_plugin_crash" 21 severity = "high" 22 } 23 24 control "plugin_chaos_test_2" { 25 title = "Control to query a chaos table" 26 description = "Control to query a chaos table test the Get call with all the possible scenarios like errors, panics and delays" 27 sql = query.check_plugincrash_normalquery2.sql 28 severity = "high" 29 }