Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Admin message
Today at 12:05 p.m. CEST
GitLab will be temporarily unavailable due to brief maintenance.
Show more breadcrumbs
dCache
cta
Commits
8984f014
Commit
8984f014
authored
8 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Removed ASSERT_NO_THROW clauses from SchedulerTest.cpp
parent
08719b0d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scheduler/SchedulerTest.cpp
+6
-6
6 additions, 6 deletions
scheduler/SchedulerTest.cpp
with
6 additions
and
6 deletions
scheduler/SchedulerTest.cpp
+
6
−
6
View file @
8984f014
...
...
@@ -175,8 +175,8 @@ public:
const
uint16_t
nbPartialTapes
=
1
;
const
std
::
string
tapePoolComment
=
"Tape-pool comment"
;
const
bool
tapePoolEncryption
=
false
;
ASSERT_NO_THROW
(
catalogue
.
createTapePool
(
s_adminOnAdminHost
,
s_tapePoolName
,
nbPartialTapes
,
tapePoolEncryption
,
tapePoolComment
)
)
;
catalogue
.
createTapePool
(
s_adminOnAdminHost
,
s_tapePoolName
,
nbPartialTapes
,
tapePoolEncryption
,
tapePoolComment
);
const
uint16_t
copyNb
=
1
;
const
std
::
string
archiveRouteComment
=
"Archive-route comment"
;
catalogue
.
createArchiveRoute
(
s_adminOnAdminHost
,
s_diskInstance
,
s_storageClassName
,
copyNb
,
s_tapePoolName
,
...
...
@@ -379,8 +379,8 @@ TEST_P(SchedulerTest, archive_and_retrieve_new_file) {
// Create the environment for the migration to happen (library + tape)
const
std
::
string
libraryComment
=
"Library comment"
;
ASSERT_NO_THROW
(
catalogue
.
createLogicalLibrary
(
s_adminOnAdminHost
,
s_libraryName
,
libraryComment
)
)
;
catalogue
.
createLogicalLibrary
(
s_adminOnAdminHost
,
s_libraryName
,
libraryComment
);
{
auto
libraries
=
catalogue
.
getLogicalLibraries
();
ASSERT_EQ
(
1
,
libraries
.
size
());
...
...
@@ -391,8 +391,8 @@ TEST_P(SchedulerTest, archive_and_retrieve_new_file) {
const
std
::
string
tapeComment
=
"Tape comment"
;
bool
notDisabled
=
false
;
bool
notFull
=
false
;
ASSERT_NO_THROW
(
catalogue
.
createTape
(
s_adminOnAdminHost
,
s_vid
,
s_libraryName
,
s_tapePoolName
,
""
,
capacityInBytes
,
notDisabled
,
notFull
,
tapeComment
)
)
;
catalogue
.
createTape
(
s_adminOnAdminHost
,
s_vid
,
s_libraryName
,
s_tapePoolName
,
""
,
capacityInBytes
,
notDisabled
,
notFull
,
tapeComment
);
{
// Emulate a tape server by asking for a mount and then a file (and succeed
...
...
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