Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FFM-7871 - Only first prereq is being processed (#26)
FFM-7871 - Only first prereq is being processed (#26) What Fix prereq loop not to abort too soon, allowing subsequent prereqs to be processed Why The old logic aborts immediately after the first iteration of the loop Testing The following testgrid test cases are now working: "Type=NumWith2JSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=NumWith2JSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=NumWithNumJSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=NumWithNumJSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=NumWithNumStr;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=NumWithNumStr;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=JSONWith2Bool;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return Val", "Type=JSONWith2Str;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return Val", "Type=JSONWith2Str;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return Val", "Type=JSONWithJSONStr;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return Val", "Type=JSONWithJSONStr;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return Val", "Type=NumWith2Str;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=NumWith2Str;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=NumWith2JSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=NumWith2JSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=NumWith2Bool;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=NumWith2Bool;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=NumWith2Num;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=NumWith2Num;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=NumWithNumJSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=NumWithNumJSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=NumWithNumBool;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=NumWithNumBool;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=NumWithNumStr;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return 0.11", "Type=NumWithNumStr;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return 0.11", "Type=JSONWith2Bool;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return Val", "Type=JSONWith2JSON;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return Val", "Type=JSONWith2JSON;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return Val", "Type=JSONWith2Num;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return Val", "Type=JSONWith2Num;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return Val", "Type=JSONWithJSONBool;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return Val", "Type=JSONWithJSONBool;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return Val", "Type=JSONWithJSONNum;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return Val", "Type=JSONWithJSONNum;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return Val", "Type=BoolWithBoolNum;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOff;Return False", "Type=BoolWithBoolNum;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return False", "Type=BoolWith2Bool;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return False", "Type=BoolWith2Num;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOff;Return False", "Type=BoolWith2Num;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return False", "Type=BoolWith2Bool;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOff;Return False", "Type=BoolWith2Bool;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return False", "Type=BoolWith2JSON;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOff;Return False", "Type=BoolWith2JSON;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return False", "Type=BoolWith2Str;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return False", "Type=BoolWithBoolJSON;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return False", "Type=BoolWithBoolJSON;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOff;Return False", "Type=BoolWithBoolStr;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return False",
- Loading branch information