Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
castor
CASTOR
Commits
f1183d1d
Commit
f1183d1d
authored
Nov 02, 2010
by
Steven Murray
Browse files
Mighunter daemon start-up scripts are now re-created by tghe test scripts.
parent
cf513ac8
Changes
4
Hide whitespace changes
Inline
Side-by-side
rtcopy/migrator.c
View file @
f1183d1d
...
...
@@ -294,7 +294,7 @@ int migratorCallbackFileCopied(
(
inChild
==
0
?
mainUuid
:
childUuid
),
RTCPCLD_LOG_MSG
(
RTCPCLD_MSG_FAILEDNSUPD
),
(
struct
Cns_fileid
*
)
castorFileId
,
RTCPCLD_NB_PARAMS
+
9
,
RTCPCLD_NB_PARAMS
+
10
,
""
,
DLF_MSG_PARAM_TPVID
,
tapereq
->
vid
,
...
...
@@ -307,6 +307,9 @@ int migratorCallbackFileCopied(
"FSEQ"
,
DLF_MSG_PARAM_INT
,
filereq
->
tape_fseq
,
"DISKPATH"
,
DLF_MSG_PARAM_STR
,
filereq
->
file_path
,
"BLOCKID"
,
DLF_MSG_PARAM_STR
,
blkid
,
...
...
test/tapegateway_release_tests/CastorTapeTests.pm
View file @
f1183d1d
...
...
@@ -1290,6 +1290,13 @@ sub reinstall_stager_db()
killDaemonWithTimeout
('
rtcpclientd
'
,
2
);
killDaemonWithTimeout
('
stagerd
'
,
2
);
killDaemonWithTimeout
('
tapegatewayd
',
2
);
# Re-create mighunterd daemon scripts
print
("
Re-creating mighunterd daemon scripts
\n
");
`
echo "DAEMON_COREFILE_LIMIT=unlimited" > /etc/sysconfig/mighunterd
`;
`
echo 'SVCCLASSES="default dev"' >> /etc/sysconfig/mighunterd
`;
`
echo 'MIGHUNTERD_OPTIONS="-t 5"' > /etc/sysconfig/mighunterd.default
`;
`
echo 'MIGHUNTERD_OPTIONS="-t 5"' > /etc/sysconfig/mighunterd.dev
`;
# Ensure there is no leftover in the DB
my
$dbh
=
open_db
();
...
...
test/tapegateway_release_tests/tapetests-lxcastordev.conf
View file @
f1183d1d
...
...
@@ -14,12 +14,12 @@ TAPETEST svcclass_lxcastordev03 dev
TAPETEST
username_lxcastordev04
murrayc3
TAPETEST
checkout_location_lxcastordev04
/
afs
/
cern
.
ch
/
user
/
m
/
murrayc3
/
castor
/
checkout
/
v2_1_9_7_gateway
TAPETEST
file_size_lxcastordev04
10485760
TAPETEST
file_number_lxcastordev04
2
TAPETEST
file_number_lxcastordev04
1
TAPETEST
castor_directory_lxcastordev04
/
castor
/
cern
.
ch
/
dev
/
m
/
murrayc3
/
TAPETEST
migration_timeout_lxcastordev04
600
TAPETEST
poll_interval_lxcastordev04
5
TAPETEST
tapepool_lxcastordev04
stager_dev04
TAPETEST
svcclass_lxcastordev04
de
fault
TAPETEST
svcclass_lxcastordev04
de
v
# General parameters
...
...
test/tapegateway_release_tests/test_gateway_wipe_reinstall_migrate.pl
View file @
f1183d1d
...
...
@@ -171,7 +171,8 @@ sub goodDaySingleAndDualCopyTest ( $$ )
my
$poll
=
CastorTapeTests::
get_environment
('
poll_interval
');
my
$timeout
=
CastorTapeTests::
get_environment
('
migration_timeout
');
for
my
$sd
(
0
,
1
)
{
#for my $sd (0, 1) {
for
my
$sd
(
1
)
{
for
my
$i
(
0
..
(
$file_number
-
1
)
)
{
my
$file_name
=
"
/tmp/
"
.
`
uuidgen
`;
chomp
$file_name
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment