@@ -66,7 +66,7 @@ Flickable {
6666 }
6767
6868 UT.UnityTestCase {
69− name: "PreviewRatingDisplayTest"
69+ name: "PreviewRatingDisplayCreationRangesTest"
7070 when: windowShown
7171
7272 function initTestCase() {
@@ -108,7 +108,10 @@ Flickable {
108108 waitForRendering(root);
109109
110110 // Check we have only created a few delegates
111− tryCompare(root, "createdDelegates", 16);
111+ // For some reason xenial and yaketti we get 16 and on vivid 15 so
112+ // settle for <= 20
113+ expectFailContinue("", "Should not create more than 20 delegates when using ranges");
114+ tryCompareFunction(function() { return root.createdDelegates > 20 }, true);
112115
113116 // Check that item 499 isn't there on startup but if we scroll down
114117 // it will be there