Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210360228
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2021
210360228
Commits
36996e6f
Unverified
Commit
36996e6f
authored
Feb 24, 2021
by
Shylock Hg
Committed by
GitHub
Feb 24, 2021
Browse files
Options
Downloads
Patches
Plain Diff
Correct the new error msg. (#770)
* Correct the new error msg. * Fix comment.
parent
831233e6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/tck/features/update/Update.IntVid.feature
+2
-2
2 additions, 2 deletions
tests/tck/features/update/Update.IntVid.feature
tests/tck/features/update/Update.feature
+4
-4
4 additions, 4 deletions
tests/tck/features/update/Update.feature
with
6 additions
and
6 deletions
tests/tck/features/update/Update.IntVid.feature
+
2
−
2
View file @
36996e6f
...
...
@@ -314,7 +314,7 @@ Feature: Update int vid of vertex and edge
SET student_default.name = "Lily", student_default.age = "10"
YIELD $^.student_default.name AS Name, $^.student_default.gender AS Gender
"""
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Atomic
operation
failed
.
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Invalid
data,
may
be
wrong
value
type
.
# Insertable: vertex 113 ("Jack") --> ("Jack", "Three")
# 113 is nonexistent, gender with default value,
# update student_default.age with string value
...
...
@@ -324,7 +324,7 @@ Feature: Update int vid of vertex and edge
SET student_default.name = "Ann", student_default.age = "10"
YIELD $^.student_default.name AS Name, $^.student_default.gender AS Gender
"""
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Atomic
operation
failed
.
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Invalid
data,
may
be
wrong
value
type
.
# Insertable success, 115 is nonexistent, name and age without default value,
# the filter is always true.
When executing query
:
...
...
This diff is collapsed.
Click to expand it.
tests/tck/features/update/Update.feature
+
4
−
4
View file @
36996e6f
...
...
@@ -311,7 +311,7 @@ Feature: Update string vid of vertex and edge
SET student_default.name = "Lily", student_default.age = "10"
YIELD $^.student_default.name AS Name, $^.student_default.gender AS Gender
"""
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Atomic
operation
failed
.
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Invalid
data,
may
be
wrong
value
type
.
# Insertable: vertex "113" ("Jack") --> ("Jack", "Three")
# 113 is nonexistent, gender with default value,
# update student_default.age with string value
...
...
@@ -321,7 +321,7 @@ Feature: Update string vid of vertex and edge
SET student_default.name = "Ann", student_default.age = "10"
YIELD $^.student_default.name AS Name, $^.student_default.gender AS Gender
"""
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Atomic
operation
failed
.
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Invalid
data,
may
be
wrong
value
type
.
# Insertable success, "115" is nonexistent, name and age without default value,
# the filter is always true.
When executing query
:
...
...
@@ -841,7 +841,7 @@ Feature: Update string vid of vertex and edge
SET name = "Lily", age = "10"
YIELD name AS Name, gender AS Gender
"""
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Atomic
operation
failed
.
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Invalid
data,
may
be
wrong
value
type
.
# Insertable: vertex "113" ("Jack") --> ("Jack", "Three")
# 113 is nonexistent, gender with default value,
# update student_default.age with string value
...
...
@@ -851,7 +851,7 @@ Feature: Update string vid of vertex and edge
SET name = "Ann", age = "10"
YIELD name AS Name, gender AS Gender
"""
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Atomic
operation
failed
.
Then a ExecutionError should be raised at runtime
:
Storage Error
:
Invalid
data,
may
be
wrong
value
type
.
# Insertable success, "115" is nonexistent, name and age without default value,
# the filter is always true.
When executing query
:
...
...
This diff is collapsed.
Click to expand it.
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