Skip to content

Commit 2741be1

Browse files
committed
Fix tests
1 parent 17b9bcc commit 2741be1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

master/queue/jobgenerators/icpc_generator.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func (i *ICPCGenerator) incTestedPrefix() (*models.Submission, error) {
112112
// compileJobCompleted must be done with acquired mutex
113113
func (i *ICPCGenerator) compileJobCompleted(job *invokerconn.Job, result *masterconn.InvokerJobResult) (*models.Submission, error) {
114114
if job.Type != invokerconn.CompileJob {
115-
logger.Panic("Treating job %d of type %v as compile job", job.ID, job.Type)
115+
logger.Panic("Treating job %s of type %v as compile job", job.ID, job.Type)
116116
}
117117
i.state = compilationFinished
118118
switch result.Verdict {
@@ -136,7 +136,7 @@ func (i *ICPCGenerator) compileJobCompleted(job *invokerconn.Job, result *master
136136
// testJobCompleted must be done with acquired mutex
137137
func (i *ICPCGenerator) testJobCompleted(job *invokerconn.Job, result *masterconn.InvokerJobResult) (*models.Submission, error) {
138138
if job.Type != invokerconn.TestJob {
139-
logger.Panic("Treating job %d of type %v as test job", job.ID, job.Type)
139+
logger.Panic("Treating job %s of type %v as test job", job.ID, job.Type)
140140
}
141141
switch result.Verdict {
142142
case verdict.OK:

0 commit comments

Comments
 (0)