mirror of
https://github.com/kemko/nomad.git
synced 2026-01-10 12:25:42 +03:00
Formatting test
This commit is contained in:
@@ -22,15 +22,15 @@ func assertWriteMeta(t *testing.T, wm *WriteMeta) {
|
||||
func testJob() *Job {
|
||||
task := NewTask("task1", "exec").
|
||||
Require(&Resources{
|
||||
CPU: 100,
|
||||
MemoryMB: 256,
|
||||
DiskMB: 25,
|
||||
IOPS: 10,
|
||||
}).
|
||||
CPU: 100,
|
||||
MemoryMB: 256,
|
||||
DiskMB: 25,
|
||||
IOPS: 10,
|
||||
}).
|
||||
SetLogConfig(&LogConfig{
|
||||
MaxFiles: 1,
|
||||
MaxFileSizeMB: 2,
|
||||
})
|
||||
MaxFiles: 1,
|
||||
MaxFileSizeMB: 2,
|
||||
})
|
||||
|
||||
group := NewTaskGroup("group1", 1).
|
||||
AddTask(task)
|
||||
|
||||
Reference in New Issue
Block a user