Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchy64 committed Jul 14, 2021
1 parent 9fb57e4 commit fc6a5c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/puppetlabs/trapperkeeper/core_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
:restart-file cli-restart-file})]
(is (= cli-restart-file (get-in config [:global :restart-file])))))))

;; related: https://github.com/plumatic/plumbing/issues/138
(def number-of-test-services
"Should be higher than the number of defrecord fields
allowed in practice in order to hit plumatic graph specialization limits."
Expand Down
2 changes: 2 additions & 0 deletions test/puppetlabs/trapperkeeper/internal_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
[]
(assert nil)))

;; related: https://github.com/puppetlabs/trapperkeeper/issues/294
(deftest compile-graph-test
(testing "specialized compilation"
(let [dummy-small-service-graph {:Service1 dummy-service-map-val}]
Expand All @@ -130,6 +131,7 @@
dummy-service-map-val}))
;; should be larger than the number of fields
;; allowed in a defrecord in practice.
;; related: https://github.com/plumatic/plumbing/issues/138
(range 1000))]
(is (ifn? (internal/compile-graph dummy-huge-service-graph)))))
(testing "internal logic"
Expand Down

0 comments on commit fc6a5c7

Please sign in to comment.