Skip to content

Commit 3230e33

Browse files
committed
rename test case archive -> test
1 parent f13a959 commit 3230e33

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

server/tests/client_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
INACTIVE_PROPERTY = {"name": "pvStatus", "owner": "admin", "value": "Inactive", "channels": []}
1212
MAX_WAIT_SECONDS = 180
1313
TIME_PERIOD_INCREMENT = 2
14-
DEFAULT_CHANNEL_NAME = "IOC1-1:ai:archive"
14+
DEFAULT_CHANNEL_NAME = "IOC1-1:ai:test"
1515

1616

1717
def channel_match(channel0, channel1, properties_to_match: list[str]):

server/tests/ioc/archive_bugtest.db

Lines changed: 0 additions & 5 deletions
This file was deleted.

server/tests/ioc/st.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ addReccasterExcludePattern("*_", "*__")
2020
addReccasterExcludePattern("*exclude_this")
2121

2222
## Load record instances
23-
dbLoadRecords("/ioc/$(DB_FILE=archive.db)","P=$(IOCSH_NAME):")
23+
dbLoadRecords("/ioc/$(DB_FILE=test.db)","P=$(IOCSH_NAME):")
2424

2525
iocInit()
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
record(ai, "$(P)ai:archive") {
3-
alias("$(P)ai:archive:alias")
2+
record(ai, "$(P)ai:test") {
3+
alias("$(P)ai:test:alias")
44
info("test", "testing")
55
info("archive", "MONITOR@1")
66
field(DESC, "testdesc")
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
record(ai, "$(P)ai:test") {
3+
alias("$(P)ai:test:alias")
4+
info("test", "testing")
5+
field(DESC, "testdesc")
6+
}

server/tests/test_bash_ioc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ def test_remove_property(self, setup_compose: DockerCompose) -> None: # noqa: F
5858
LOG.info("Waiting for channels to sync")
5959
cf_client = create_client_and_wait(setup_compose, expected_channel_count=2)
6060

61-
# Check ioc1-1 has ai:archive with info tag "archive"
62-
LOG.debug('Checking ioc1-1 has ai:archive with info tag "archive"')
61+
# Check ioc1-1 has ai:test with info tag "archive"
62+
LOG.debug('Checking ioc1-1 has ai:test with info tag "archive"')
6363
channel = cf_client.find(name=DEFAULT_CHANNEL_NAME)
6464

6565
def get_len_archive_properties(channel):

0 commit comments

Comments
 (0)