jobqueue: add channel to workers
Stores the channel alongside the worker.
This commit is contained in:
parent
ede798ae6c
commit
1b4935c325
9 changed files with 46 additions and 26 deletions
|
|
@ -65,7 +65,7 @@ func executeTests(m *testing.M) int {
|
|||
fixture := rpmmd_mock.BaseFixture(path.Join(tmpdir, "/jobs"), test_distro.TestDistro1Name, test_distro.TestArchName)
|
||||
defer fixture.StoreFixture.Cleanup()
|
||||
|
||||
_, err = fixture.Workers.RegisterWorker(fixture.StoreFixture.HostArchName)
|
||||
_, err = fixture.Workers.RegisterWorker("", fixture.StoreFixture.HostArchName)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue