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/lib/cli/test_commands.c | |
| 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/lib/cli/test_commands.c')
| -rw-r--r-- | tests/lib/cli/test_commands.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/cli/test_commands.c b/tests/lib/cli/test_commands.c index 2b345c91e8..cb512211a4 100644 --- a/tests/lib/cli/test_commands.c +++ b/tests/lib/cli/test_commands.c @@ -209,7 +209,7 @@ static void test_init(void) cmd_init(1); yang_init(true); - nb_init(master, NULL, 0); + nb_init(master, NULL, 0, false); install_node(&bgp_node); install_node(&rip_node); |
