File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
configs/configurations/memory_usage Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
1
2
<iocs xmlns =" http://epics.isis.rl.ac.uk/schema/iocs/1.0" xmlns : ioc =" http://epics.isis.rl.ac.uk/schema/iocs/1.0" xmlns : xi =" http://www.w3.org/2001/XInclude" >
2
3
<ioc autostart =" true" name =" COUETTE_01" remotePvPrefix =" " restart =" true" simlevel =" recsim" >
3
4
<macros />
99
100
<pvs />
100
101
<pvsets />
101
102
</ioc >
102
- </iocs >
103
+ </iocs >
Original file line number Diff line number Diff line change 6
6
<edit >2019-02-04 12:15:24</edit >
7
7
</edits >
8
8
<isProtected >false</isProtected >
9
+ <isDynamic >false</isDynamic >
9
10
<configuresBlockGWAndArchiver >false</configuresBlockGWAndArchiver >
10
11
</meta >
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ def setUp(self) -> None:
30
30
# all tests that interact with anything but genie should try to load
31
31
# a config to ensure that the configurations
32
32
# in the tests are not broken, e.g. by a schema update
33
- load_config_if_not_already_loaded (TYPICAL_CONFIG_NAME )
33
+ load_config_if_not_already_loaded (TYPICAL_CONFIG_NAME , timeout = 360 )
34
34
35
35
def get_current_memory_usage (self ) -> float :
36
36
"""
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ def parameterized_list(cases):
68
68
return return_list
69
69
70
70
71
- def load_config_if_not_already_loaded (config_name ):
71
+ def load_config_if_not_already_loaded (config_name , timeout = WAIT_FOR_SERVER_TIMEOUT ):
72
72
"""
73
73
Load a config by name if it has not already been loaded.
74
74
@@ -86,7 +86,7 @@ def load_config_if_not_already_loaded(config_name):
86
86
87
87
g .set_pv ("CS:BLOCKSERVER:LOAD_CONFIG" , value = compress_and_hex (config_name ), is_local = True )
88
88
status_was_busy = False
89
- for i in range (WAIT_FOR_SERVER_TIMEOUT ):
89
+ for i in range (timeout ):
90
90
status = get_server_status ()
91
91
if status_was_busy and status == "" :
92
92
break
You can’t perform that action at this time.
0 commit comments