intel / dps-for-iot

Other
61 stars 23 forks source link

Node discovery does not work with publications supporting wildcards #126

Open malsbat opened 4 years ago

malsbat commented 4 years ago

The test case is something along the lines of (to exercise wildcards and multiple subscriptions):

  1. ./build/test/bin/discover -s A -p B -s C
  2. ./build/test/bin/discover -p A -s B -s D Node 1 should receive pub A and node 2 should receive pub B, but they do not.

The root cause is the removal of the needs from discovery in https://github.com/intel/dps-for-iot/commit/bdd8141fd3d319bb30d69fb4a8780d1bfbed95f9.