l.b.t.t.TestMultiArchJobDelayEstimation(MultiArchBuildsBase) : class documentation

Part of lp.buildmaster.tests.test_queuedepth View In Hierarchy

Test estimated job delays with various processors.
Method setUp Add 2 'build source package from recipe' builds to the mix.
Method disabled_test_job_delay_for_binary_builds Undocumented
Method disabled_test_job_delay_for_recipe_builds Undocumented

Inherited from TestBuildQueueBase (via MultiArchBuildsBase):

Method makeCustomBuildQueue Create a SourcePackageRecipeBuild and a BuildQueue for

Inherited from TestCaseWithFactory (via MultiArchBuildsBase, TestBuildQueueBase):

Method getUserBrowser Return a Browser logged in as a fresh user, maybe opened at url.
Method getNonRedirectingBrowser Undocumented
Method createBranchAtURL Create a branch at the supplied URL.
Method create_branch_and_tree Create a database branch, bzr branch and bzr checkout.
Method createBzrBranch Create a bzr branch for a database branch.
Static Method getBranchPath Return the path of the branch in the mirrored area.
Method useTempBzrHome Undocumented
Method useBzrBranches Prepare for using bzr branches.

Inherited from TestCase (via MultiArchBuildsBase, TestBuildQueueBase, TestCaseWithFactory):

Method becomeDbUser Commit, then log into the database as dbuser.
Method __str__ The string representation of a test is its id.
Method useContext Use the supplied context in this test.
Method makeTemporaryDirectory Create a temporary directory, and return its path.
Method installKarmaRecorder Set up and return a KarmaRecorder.
Method assertProvides Assert 'obj' correctly provides 'interface'.
Method assertNotifies Assert that a callable performs a given notification.
Method assertNoNotification Assert that no notifications are generated by the callable.
Method assertSqlAttributeEqualsDate Fail unless the value of the attribute is equal to the date.
Method assertTextMatchesExpressionIgnoreWhitespace Undocumented
Method assertIsInstance Assert that an instance is an instance of assert_class.
Method assertIsNot Assert that expected is not the same object as observed.
Method assertContentEqual Assert that 'iter1' has the same content as 'iter2'.
Method assertRaisesWithContent Check if the given exception is raised with given content.
Method assertBetween Assert that 'variable' is strictly between two boundaries.
Method assertVectorEqual Apply assertEqual to all given pairs in one go.
Method expectedLog Expect a log to be written that matches the regex.
Method pushConfig Push some key-value pairs into a section of the config.
Method attachOopses Undocumented
Method attachLibrarianLog Include the logChunks from fixture in the test details.
Method assertStatementCount Assert that the expected number of SQL statements occurred.
Method useTempDir Use a temporary directory for this test.
Method assertEmailHeadersEqual Assert that two email headers are equal.
Method assertStartsWith Undocumented
Method assertEndsWith Asserts that s ends with suffix.
Method checkPermissions Check if the used_permissions match expected_permissions.
Method assertEmailQueueLength Pop the email queue, assert its length, and return it.
Method _unfoldEmailHeader Unfold a multiline email header.
def setUp(self):
Add 2 'build source package from recipe' builds to the mix.

  The two platform-independent jobs will have a score of 1025 and 1053
  respectively.
  In case of jobs with equal scores the one with the lesser 'job' value
  (i.e. the older one wins).

      3,              gedit, p: hppa, v:False e:0:01:00 *** s: 1003
      4,              gedit, p:  386, v:False e:0:02:00 *** s: 1006
      5,            firefox, p: hppa, v:False e:0:03:00 *** s: 1009
      6,            firefox, p:  386, v:False e:0:04:00 *** s: 1012
      7,                apg, p: hppa, v:False e:0:05:00 *** s: 1015
      9,                vim, p: hppa, v:False e:0:07:00 *** s: 1021
     10,                vim, p:  386, v:False e:0:08:00 *** s: 1024
      8,                apg, p:  386, v:False e:0:06:00 *** s: 1024
-->  19,     xx-recipe-bash, p: None, v:False e:0:00:22 *** s: 1025
     11,                gcc, p: hppa, v:False e:0:09:00 *** s: 1027
     12,                gcc, p:  386, v:False e:0:10:00 *** s: 1030
     13,              bison, p: hppa, v:False e:0:11:00 *** s: 1033
     14,              bison, p:  386, v:False e:0:12:00 *** s: 1036
     15,               flex, p: hppa, v:False e:0:13:00 *** s: 1039
     16,               flex, p:  386, v:False e:0:14:00 *** s: 1042
     17,           postgres, p: hppa, v:False e:0:15:00 *** s: 1045
     18,           postgres, p:  386, v:False e:0:16:00 *** s: 1048
-->  20,      xx-recipe-zsh, p: None, v:False e:0:03:42 *** s: 1053

   p=processor, v=virtualized, e=estimated_duration, s=score
  
def disabled_test_job_delay_for_binary_builds(self):
Undocumented
def disabled_test_job_delay_for_recipe_builds(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2019-09-23 00:00:04.