Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
picodata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
picodata
Commits
02222d39
Commit
02222d39
authored
1 year ago
by
Georgy Moshkin
Browse files
Options
Downloads
Patches
Plain Diff
test: fix 1 test failing in release mode
parent
aa5e73c4
No related branches found
No related tags found
1 merge request
!950
Gmoshkin/test release builds in ci
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/rpc/update_instance.rs
+2
-0
2 additions, 0 deletions
src/rpc/update_instance.rs
with
2 additions
and
0 deletions
src/rpc/update_instance.rs
+
2
−
0
View file @
02222d39
...
...
@@ -236,5 +236,7 @@ mod test {
#[should_panic]
fn
update_instance_req_with_target_grade_Replicated
()
{
Request
::
new
(
""
.into
(),
""
.into
())
.with_target_grade
(
Replicated
);
#[cfg(not(debug_assertions))]
panic!
(
"this is a synthetic panic, because the test is expected to panic, but the actual code only panics in debug mode"
);
}
}
This diff is collapsed.
Click to expand it.
Georgy Moshkin
@gmoshkin
mentioned in commit
8db1c849
·
10 months ago
mentioned in commit
8db1c849
mentioned in commit 8db1c849bbcc8b623fcc5268193e5146cf2020f5
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment