Skip to content

[gribi-compliance-get] Add caching for HasResults to improve performance on large result sets.#84

Merged
robshakir merged 9 commits intomainfrom
cx1
Oct 13, 2021
Merged

[gribi-compliance-get] Add caching for HasResults to improve performance on large result sets.#84
robshakir merged 9 commits intomainfrom
cx1

Conversation

@robshakir
Copy link
Copy Markdown
Member

@robshakir robshakir commented Oct 12, 2021

WIP: add compliance tests for Get.

Stacked PR Chain: gribi-compliance-get

PR Title Merges Into
#84 [gribi-compliance-get] Add caching for HasResults to improve performance on large result sets. N/A
#85 [gribi-compliance-get] Add initial Get tests. #84
#86 [gribi-compliance-get] Add GetResponse check helper function. #85
#87 [gribi-compliance-get] Implement tests for Get with checks. #86
#88 [gribi-compliance-get] Add FIB ACK mode for Get tests. #87

 * (M) compliance/compliance.go
   - Add a compliance test for implicit replace of IPv4, NHG, and NH
     entries when ADD is called multiple times.
   - Add a compliance test for replace failing for missing entries.
 * (M) chk/chk_test.go
   - Unit testing for HasResults cache.
@robshakir robshakir changed the title [gribi-compliance-get] add initial benchmarking tests for Get [gribi-compliance-get] Add caching for HasResults to improve performance on large result sets. Oct 13, 2021
* Add base unit tests for Get.

 * (M) compliance/compliance.go
 * (A) compliance/get.go
 * (A) compliance/get_test.go
  - Add initial testing for Get, validating that Get can be executed
    against the target.
  - Add benchmarking test for Get.
  - Rename doOps to doModifyOps to make this clearer.

* Merge fixed unit tests.

* [gribi-compliance-get] Add GetResponse check helper function. (#86)

* Add GetResponse check helper function.

  * (M)  chk/chk.go
  * (M)  chk/chk_test.go
   - Add new check that determines whether a particular GetResponse has
     a set of entries within it.
  * (M)  fluent/fluent.go
  * (M)  fluent/fluent_test.go
   - Make GRIBIEntry's EntryProto method public such that it can be used
     within the chk library.

* [gribi-compliance-get] Implement tests for Get with checks. (#87)

* Implement tests for Get with checks.

 * (M) compliance/compliance.go
 * (M) compliance/get.go
  - Add tests for Get for NH, NHG, IPv4 and a chain of entries for
    IPv4 using the Get RPC.

* Add FIB ACK mode for Get tests. (#88)

* Fix typo.

  * (M) compliance/get.go
    - Update doc comment typo.
@robshakir robshakir merged commit 6b703e7 into main Oct 13, 2021
@robshakir robshakir deleted the cx1 branch October 13, 2021 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants