crates/common: add branch and scheduling_shares to jobset models
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: Ie19897f5ffdfb44654891511ce669d806a6a6964
This commit is contained in:
parent
be9caa0b61
commit
4c5a99d554
3 changed files with 175 additions and 19 deletions
|
|
@ -469,6 +469,8 @@ mod tests {
|
|||
enabled: None,
|
||||
flake_mode: None,
|
||||
check_interval: Some(300),
|
||||
branch: None,
|
||||
scheduling_shares: None,
|
||||
};
|
||||
assert!(j.validate().is_ok());
|
||||
}
|
||||
|
|
@ -482,6 +484,8 @@ mod tests {
|
|||
enabled: None,
|
||||
flake_mode: None,
|
||||
check_interval: Some(5),
|
||||
branch: None,
|
||||
scheduling_shares: None,
|
||||
};
|
||||
assert!(j.validate().is_err());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue