summaryrefslogtreecommitdiffstats
path: root/src/tests/fail_over-tests.c
Commit message (Collapse)AuthorAgeFilesLines
* Primary server support: basic support in failover codeJan Zeleny2012-08-011-6/+7
| | | | | | | | Now there are two list of servers for each service. If currently selected server is only backup, then an event will be scheduled which tries to get connection to one of primary servers and if it succeeds, it starts using this server instead of the one which is currently connected to.
* Fixed setting of debug level in test suiteJan Zeleny2012-06-041-2/+1
|
* New DEBUG facility - SSSDBG_UNRESOLVED changed from -1 to 0Pavel Březina2011-08-251-1/+5
| | | | | | | | | | | | | | | | | | | | | Removed: SSS_UNRESOLVED_DEBUG_LEVEL (completely replaced with SSSDBG_UNRESOLVED) Added new macro: CONVERT_AND_SET_DEBUG_LEVEL(new_value) Changes unresolved debug level value (SSSDBG_UNRESOLVED) from -1 to 0 so DEBUG macro could be reduced by one condition. Anyway, it has a minor effect, every time you want to load debug_level from command line parameters, you have to use following pattern: /* Set debug level to invalid value so we can deside if -d 0 was used. */ debug_level = SSSDBG_INVALID; pc = poptGetContext(argv[0], argc, argv, long_options, 0); while((opt = poptGetNextOpt(pc)) != -1) { ... } CONVERT_AND_SET_DEBUG_LEVEL(debug_level);
* New DEBUG facility - conversionPavel Březina2011-08-251-1/+1
| | | | | | | | | | https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
* fo_get_server_name() getter for a server nameJakub Hrozek2011-07-211-1/+1
| | | | | Allows to be more concise in tests and more defensive in resolve callbacks
* Rename fo_get_server_name to fo_get_server_str_nameJakub Hrozek2011-07-211-1/+1
|
* Test NULL server hostname in fail over testsJakub Hrozek2011-06-161-8/+16
|
* Switch resolver to using resolv_hostent and honor TTLJakub Hrozek2011-06-151-3/+3
|
* Fix uninitialized value error in setup_test in fail_over-tests.cSumit Bose2010-12-141-0/+1
| | | | https://fedorahosted.org/sssd/ticket/728
* Add --with-test-dir option to configureStephen Gallagher2010-03-041-0/+2
| | | | | | All 'make check' tests will chdir() into this directory before running the suite. This provides the option of having temporary files generated in a tmpfs or ramdisk
* Restrict family lookupsJakub Hrozek2010-02-221-2/+8
| | | | | | | Adds a new option that tells resolver which address family to prefer or use exclusively. Fixes: #404
* Rename server/ directory to src/Stephen Gallagher2010-02-181-0/+304
Also update BUILD.txt