diff options
| author | Chirag Shah <chirag@nvidia.com> | 2020-08-20 12:09:53 -0700 |
|---|---|---|
| committer | Chirag Shah <chirag@nvidia.com> | 2020-08-20 14:12:04 -0700 |
| commit | 390a886277ba3afc6b9371cc13587b9a30ce5bdb (patch) | |
| tree | 4894f96aac6079993493eb818a159bcebab91052 /tests/helpers | |
| parent | 6a7fb29c197718b7a8e43e64e641b59d0bb5a751 (diff) | |
*: record transaction based on control flag
In case of config rollback is enabled,
record northbound transaction based on a control flag.
The actual frr daemons would set the flag to true via
nb_init from frr_init.
This will allow test daemon to bypass recording
transacation to db.
Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to 'tests/helpers')
| -rw-r--r-- | tests/helpers/c/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/c/main.c b/tests/helpers/c/main.c index 68ed16d513..7f15996daa 100644 --- a/tests/helpers/c/main.c +++ b/tests/helpers/c/main.c @@ -156,7 +156,7 @@ int main(int argc, char **argv) vty_init(master, false); lib_cmd_init(); yang_init(true); - nb_init(master, NULL, 0); + nb_init(master, NULL, 0, false); /* OSPF vty inits. */ test_vty_init(); |
