Skip to content
Snippets Groups Projects
Commit 0dd52028 authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

TST: Fix profile and config settings

parent f4861304
No related branches found
No related tags found
1 merge request!81F local inttests
Pipeline #57027 passed
...@@ -18,3 +18,4 @@ PyCaosDB*.egg ...@@ -18,3 +18,4 @@ PyCaosDB*.egg
# user config # user config
pycaosdb.ini pycaosdb.ini
pylinkahead.ini pylinkahead.ini
*~
...@@ -21,7 +21,7 @@ use for this. Instructions can be found in the official LinkAhead ...@@ -21,7 +21,7 @@ use for this. Instructions can be found in the official LinkAhead
- The Linkahead server must have debugging enabled. - The Linkahead server must have debugging enabled.
- The database should be empty. - The database should be empty.
- The `resources` directory should be made visible, e.g., by - The `resources` directory should be made visible, e.g., by
symlinking or copying its contents. to the server in symlinking or copying its contents, to the server in
`scripting/bin-debug`. `scripting/bin-debug`.
- Modify `pylinkahead.ini.template` and save it as `pylinkahead.ini`, taking care of the following points: - Modify `pylinkahead.ini.template` and save it as `pylinkahead.ini`, taking care of the following points:
- Certificates must be valid and be specified in `pylinkahead.ini`. - Certificates must be valid and be specified in `pylinkahead.ini`.
......
...@@ -7,13 +7,13 @@ ...@@ -7,13 +7,13 @@
## to point to existing directories in which the CaosDB server has the ## to point to existing directories in which the CaosDB server has the
## permissions to create and execute scripts. ## permissions to create and execute scripts.
# Location of the scripting bin dir which is used for the test scripts from the # Location of the scripting bin debug dir which is used for the test
# pyinttest's perspective. Probably the scripting/bin dir in the caosdb-server sources. # scripts from the pyinttest's perspective.
#test_server_side_scripting.bin_dir.local=/path/to/scripting/bin test_server_side_scripting.bin_dir.local=/path/to/linkahead-pyinttests/resources
# Location of the scripting bin dir which is used for the test scripts from the # Location of the scripting bin debug dir which is used for the test
# server's perspective. # scripts from the server's perspective.
#test_server_side_scripting.bin_dir.server=/opt/caosdb/git/caosdb-server/scripting/bin test_server_side_scripting.bin_dir.server=/opt/caosdb/git/caosdb-server/scripting/bin-debug
########## Files paths ################## ########## Files paths ##################
## Used by tests of file handling. Specify the path to an existing ## Used by tests of file handling. Specify the path to an existing
...@@ -22,11 +22,11 @@ ...@@ -22,11 +22,11 @@
# Location of the files from the pyinttest (i.e. host) perspective. Probably the local extroot # Location of the files from the pyinttest (i.e. host) perspective. Probably the local extroot
# path plus `/test_insert_files_in_dir/`. # path plus `/test_insert_files_in_dir/`.
#test_files.test_insert_files_in_dir.local=/extroot/test_insert_files_in_dir/ test_files.test_insert_files_in_dir.local=/path/to/linkahead-pyinttests/test_profile/paths/extroot/test_insert_files_in_dir/
# Location of the files from the caosdb server's perspective. Probably with the same last # Location of the files from the caosdb server's perspective. Probably with the same last
# component(s) as the local variant (above). # component(s) as the local variant (above).
#test_files.test_insert_files_in_dir.server=/opt/caosdb/mnt/extroot/test_insert_files_in_dir/ test_files.test_insert_files_in_dir.server=/opt/caosdb/mnt/extroot/test_insert_files_in_dir/
########## Authentication tokens ################## ########## Authentication tokens ##################
# # location of the one-time tokens from the pyinttest's perspective # # location of the one-time tokens from the pyinttest's perspective
...@@ -34,19 +34,21 @@ ...@@ -34,19 +34,21 @@
# test_authentication.admin_token_expired = /authtoken/admin_token_expired.txt # test_authentication.admin_token_expired = /authtoken/admin_token_expired.txt
# test_authentication.admin_token_3_attempts = /authtoken/admin_token_3_attempts.txt # test_authentication.admin_token_3_attempts = /authtoken/admin_token_3_attempts.txt
# Needed for one time-zone test
test_misc.test_time_zone.time_zone = Cuba
## Insert your usual settings here ## Insert your usual settings here
[Connection] [Connection]
#url=https://caosdb-server:10443/ url=https://localhost:10443/
## Some integration tests will fail without valid credentials. ## Some integration tests will fail without valid credentials.
#username=admin username=admin
#password_method=plain password_method=plain
#password=caosdb password=caosdb
## Provide SSL certificate used by the CaosDB server for all tests to ## Provide SSL certificate used by the CaosDB server for all tests to
## run. Some integration tests will fail without a valid certificate here. ## run. Some integration tests will fail without a valid certificate here.
#cacert=/path/to/cert.pem cacert=/path/to/cert.pem
#debug=0 #debug=0
#ssl_insecure=True #ssl_insecure=True
......
...@@ -45,7 +45,7 @@ default: ...@@ -45,7 +45,7 @@ default:
# name, which is necessary for running multiple instances # name, which is necessary for running multiple instances
# container_name: "linkahead" # container_name: "linkahead"
# The time zone for the server # The time zone for the server
# timezone: "Coordinated Universal Time" timezone: "Cuba"
# Network settings. # Network settings.
network: network:
...@@ -92,6 +92,7 @@ default: ...@@ -92,6 +92,7 @@ default:
# tests using this key are allowed to, e.g., clear the # tests using this key are allowed to, e.g., clear the
# database. # database.
_CAOSDB_INTEGRATION_TEST_SUITE_KEY: "_CAOSDB_PYINTTEST_SUITE" _CAOSDB_INTEGRATION_TEST_SUITE_KEY: "_CAOSDB_PYINTTEST_SUITE"
TRANSACTION_BENCHMARK_ENABLED: "TRUE"
# HTTPS port of the grpc end-point # HTTPS port of the grpc end-point
# grpc_server_port_https: 8443 # grpc_server_port_https: 8443
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment