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

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

Test estimated job delays with various processors.
Method setUp Add more processor-independent jobs to the mix, make the '386' jobs
Method test_pending_jobs_only Undocumented
Method test_estimation_binary_virtual Undocumented
Method test_proc_indep_virtual_true Undocumented
Method test_estimation_binary_virtual_long_queue Undocumented
Method test_proc_indep_virtual_null_headjob Undocumented
Method test_proc_indep_virtual_false Undocumented
Method test_proc_indep_virtual_false_headjob Undocumented
Method test_estimation_binary_virtual_same_score Undocumented
Method test_no_builder_no_estimate Undocumented
Method disabled_test_estimates_with_small_builder_pool Undocumented
Method test_estimation_binary_virtual_headjob 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 more processor-independent jobs to the mix, make the '386' jobs
virtual.

    3,              gedit, p: hppa, v:False e:0:01:00 *** s: 1003
    4,              gedit, p:  386, v: True e:0:02:00 *** s: 1006
    5,            firefox, p: hppa, v:False e:0:03:00 *** s: 1009
    6,            firefox, p:  386, v: True 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: True e:0:08:00 *** s: 1024
    8,                apg, p:  386, v: True e:0:06:00 *** s: 1024
   19,       xxr-aptitude, p: None, v:False e:0:05:32 *** s: 1025
   11,                gcc, p: hppa, v:False e:0:09:00 *** s: 1027
   12,                gcc, p:  386, v: True e:0:10:00 *** s: 1030
   13,              bison, p: hppa, v:False e:0:11:00 *** s: 1033
   14,              bison, p:  386, v: True e:0:12:00 *** s: 1036
   15,               flex, p: hppa, v:False e:0:13:00 *** s: 1039
   16,               flex, p:  386, v: True e:0:14:00 *** s: 1042
   23,      xxr-apt-build, p: None, v: True e:0:12:56 *** s: 1043
   22,       xxr-cron-apt, p: None, v: True e:0:11:05 *** s: 1043
   26,           xxr-cupt, p: None, v: True e:0:18:30 *** s: 1044
   25,            xxr-apt, p: None, v: True e:0:16:38 *** s: 1044
   24,       xxr-debdelta, p: None, v: True e:0:14:47 *** s: 1044
   17,           postgres, p: hppa, v:False e:0:15:00 *** s: 1045
   18,           postgres, p:  386, v: True e:0:16:00 *** s: 1048
   21,         xxr-daptup, p: None, v: True e:0:09:14 *** s: 1051
   20,       xxr-auto-apt, p: None, v:False e:0:07:23 *** s: 1053

 p=processor, v=virtualized, e=estimated_duration, s=score
def test_pending_jobs_only(self):
Undocumented
def test_estimation_binary_virtual(self):
Undocumented
def test_proc_indep_virtual_true(self):
Undocumented
def test_estimation_binary_virtual_long_queue(self):
Undocumented
def test_proc_indep_virtual_null_headjob(self):
Undocumented
def test_proc_indep_virtual_false(self):
Undocumented
def test_proc_indep_virtual_false_headjob(self):
Undocumented
def test_estimation_binary_virtual_same_score(self):
Undocumented
def test_no_builder_no_estimate(self):
Undocumented
def disabled_test_estimates_with_small_builder_pool(self):
Undocumented
def test_estimation_binary_virtual_headjob(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.