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

TST: Adapt setup for authtokens

parent f2a182d5
No related branches found
No related tags found
1 merge request!81F local inttests
...@@ -19,3 +19,4 @@ PyCaosDB*.egg ...@@ -19,3 +19,4 @@ PyCaosDB*.egg
pycaosdb.ini pycaosdb.ini
pylinkahead.ini pylinkahead.ini
*~ *~
/test_profile/paths/authtoken/admin_token*
...@@ -7,11 +7,6 @@ ...@@ -7,11 +7,6 @@
## 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 a temp dir into which the server-side scripts can be
# copied during the SSS tests. This is not needed; the tests will use
# /tmp/... if none is given.
# test_server_side_scripting.bin_dir.local=/path/to/linkahead-pyinttest/sss-temp/
# Location of the scripting bin debug dir which is used for the test # Location of the scripting bin debug dir which is used for the test
# scripts from the server's perspective. # scripts from the server's perspective.
test_server_side_scripting.bin_dir.server=/opt/caosdb/git/caosdb-server/scripting/bin-debug test_server_side_scripting.bin_dir.server=/opt/caosdb/git/caosdb-server/scripting/bin-debug
...@@ -30,10 +25,12 @@ test_files.test_insert_files_in_dir.local=/path/to/linkahead-pyinttest/test_prof ...@@ -30,10 +25,12 @@ test_files.test_insert_files_in_dir.local=/path/to/linkahead-pyinttest/test_prof
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
# test_authentication.admin_token_crud = /authtoken/admin_token_crud.txt # perspective. When using the test_profile, the parent directory has
# test_authentication.admin_token_expired = /authtoken/admin_token_expired.txt # to be the same as the value of `debug_token_auth_dir`
# test_authentication.admin_token_3_attempts = /authtoken/admin_token_3_attempts.txt test_authentication.admin_token_crud = /tmp/linkahead-pyinttest/authtoken/admin_token_crud.txt
test_authentication.admin_token_expired = /tmp/linkahead-pyinttest/authtoken/admin_token_expired.txt
test_authentication.admin_token_3_attempts = /tmp/linkahead-pyinttest/authtoken/admin_token_3_attempts.txt
# Needed for one time-zone test # Needed for one time-zone test
test_misc.test_time_zone.time_zone = Cuba test_misc.test_time_zone.time_zone = Cuba
......
This directory should be created when cloning or pulling this git repository.
This directory should be created when cloning or pulling this git repository.
...@@ -31,6 +31,7 @@ default: ...@@ -31,6 +31,7 @@ default:
# - debug-scripting-bin :: Used as the server-side scripting bin dir. # - debug-scripting-bin :: Used as the server-side scripting bin dir.
# debug: false # debug: false
debug: true debug: true
debug_authtoken_dir: "/tmp/linkahead-pyinttest/authtoken/"
# URL of the docker registry. Set to "" to look locally. # URL of the docker registry. Set to "" to look locally.
# registry_server: "gitlab.indiscale.com:5050" # registry_server: "gitlab.indiscale.com:5050"
# The account for accessing the registry server. "" means no account. # The account for accessing the registry server. "" means no account.
...@@ -93,6 +94,7 @@ default: ...@@ -93,6 +94,7 @@ default:
# database. # database.
_CAOSDB_INTEGRATION_TEST_SUITE_KEY: "_CAOSDB_PYINTTEST_SUITE" _CAOSDB_INTEGRATION_TEST_SUITE_KEY: "_CAOSDB_PYINTTEST_SUITE"
TRANSACTION_BENCHMARK_ENABLED: "TRUE" TRANSACTION_BENCHMARK_ENABLED: "TRUE"
# SERVER_SIDE_SCRIPTING_BIN_DIRS: ""
# 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