l.b.t.test_queuedepth : module documentation

Part of lp.buildmaster.tests

Test BuildQueue start time estimation.
Function check_mintime_to_builder Test the estimated time until a builder becomes available.
Function set_remaining_time_for_running_job Set remaining running time for job.
Function check_delay_for_job Undocumented
Function total_builders How many available builders do we have in total?
Function builders_for_job How many available builders can run the given job?
Function check_estimate Undocumented
Function disable_builders Disable bulders with the given processor and virtualization setting.
Function nth_builder Find nth builder that can execute the given build.
Function assign_to_builder Simulate assigning a build to a builder.
Class TestBuildQueueBase Setup the test publisher and some builders.
Class SingleArchBuildsBase Set up a test environment with builds that target a single
Class TestBuilderData Test the retrieval of builder related data. The latter is required
Class TestMinTimeToNextBuilder Test estimated time-to-builder with builds targetting a single
Class MultiArchBuildsBase Set up a test environment with builds and multiple processors.
Class TestMinTimeToNextBuilderMulti Test estimated time-to-builder with builds and multiple processors.
Class TestMultiArchJobDelayEstimation Test estimated job delays with various processors.
Class TestJobDispatchTimeEstimation Test estimated job delays with various processors.
def check_mintime_to_builder(test, bq, min_time):
Test the estimated time until a builder becomes available.
def set_remaining_time_for_running_job(bq, remainder):
Set remaining running time for job.
def check_delay_for_job(test, the_job, delay):
Undocumented
def total_builders():
How many available builders do we have in total?
def builders_for_job(job):
How many available builders can run the given job?
def check_estimate(test, job, delay_in_seconds):
Undocumented
def disable_builders(test, processor_name, virtualized):
Disable bulders with the given processor and virtualization setting.
def nth_builder(test, bq, n):
Find nth builder that can execute the given build.
def assign_to_builder(test, job_name, builder_number, processor='386'):
Simulate assigning a build to a builder.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.