Github user d2r commented on a diff in the pull request:
https://github.com/apache/incubator-storm/pull/164#discussion_r15242965
--- Diff: storm-core/test/clj/backtype/storm/supervisor_test.clj ---
@@ -352,3 +352,73 @@
;; TODO just do reassign, and check that cleans up worker states after
killing but doesn't get rid of downloaded code
)
+(defn found?
+ [sub-str input-str]
+ (if (string? input-str)
+ (.contains input-str sub-str)
+ (some? #(.substring % sub-str) input-str)))
+
+(defn not-found?
+ [sub-str input-str]
+ (complement (found? sub-str input-str)))
--- End diff --
No longer needed?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---