Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
Storage
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSDU
OSDU Data Platform
System
Storage
Commits
53809164
Commit
53809164
authored
1 year ago
by
Abhay Joshi
Browse files
Options
Downloads
Patches
Plain Diff
changing assert statement to match expected behavior
parent
d0235ebc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
4 merge requests
!760
Vulnerability fixes
,
!745
Draft: M18 Upgraded packages to mitigate vulns in netty, guava, snakeyaml
,
!744
Upgraded packages to mitigated vulns in netty, guava, snakeyaml
,
!692
M18 service and CICD updates
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/storage-test-aws/src/test/java/org/opengroup/osdu/storage/records/TestRecordsApiAcceptance.java
+2
-6
2 additions, 6 deletions
...ngroup/osdu/storage/records/TestRecordsApiAcceptance.java
with
2 additions
and
6 deletions
testing/storage-test-aws/src/test/java/org/opengroup/osdu/storage/records/TestRecordsApiAcceptance.java
+
2
−
6
View file @
53809164
...
...
@@ -77,13 +77,9 @@ public class TestRecordsApiAcceptance extends RecordsApiAcceptanceTests {
response
=
TestUtils
.
send
(
"records/"
+
ENCODED_RECORD_ID
,
"GET"
,
HeaderUtils
.
getHeaders
(
TenantUtils
.
getTenantName
(),
testUtils
.
getToken
()),
""
,
""
);
GetRecordResponse
recordResult
=
TestUtils
.
getResult
(
response
,
200
,
GetRecordResponse
.
class
);
assertEquals
(
"TestSpecialCharacters"
,
recordResult
.
data
.
get
(
"name"
));
// Service does not allow URLs with suspicious characters, Which is the default setting.
// Different CSPs are responding with different status code for this error when a special character like %25 is present in the URL.
// Hence the Assert Statement is marked not to be 200.
// More details - https://community.opengroup.org/osdu/platform/system/storage/-/issues/61
assertNotEquals
(
200
,
response
.
getStatus
());
}
}
This diff is collapsed.
Click to expand it.
Abhay Joshi
@bios
mentioned in commit
45b59d52
·
1 year ago
mentioned in commit
45b59d52
mentioned in commit 45b59d5222c969d1371bfedee08636f2d363b1b9
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