Index: modules/field_ui/field_ui.test
===================================================================
RCS file: /cvs/drupal/drupal/modules/field_ui/field_ui.test,v
retrieving revision 1.26
diff -u -p -r1.26 field_ui.test
--- modules/field_ui/field_ui.test	23 Oct 2010 15:55:04 -0000	1.26
+++ modules/field_ui/field_ui.test	26 Oct 2010 15:03:01 -0000
@@ -481,7 +481,10 @@ class FieldUIManageDisplayTestCase exten
       'fields[_add_new_field][field_name]' => 'field_test',
     );
     $this->fieldUIAddNewField('admin/structure/types/manage/' . $this->hyphen_type, $edit);
-    $value = rand(1, 100);
+    // For this test, use a formatter setting value that is an integer unlikely
+    // to appear in a rendered node other than as part of the field being tested
+    // (for example, unlikely to be part of the "Submitted by ... on ..." line).
+    $value = 12345;
     $settings = array(
       'type' => $this->type,
       'field_test' => array(LANGUAGE_NONE => array(array('value' => $value))),
