eclipse-sparkplug / sparkplug

Sparkplug
Eclipse Public License 2.0
109 stars 39 forks source link

Change nbirth and dbirth payload timestamp checks to match those elsewhere #475

Closed icraggs-sparkplug closed 1 year ago

icraggs-sparkplug commented 1 year ago

Change the edge session establishment test payload timestamp checks to use the checkUTC method used in other timestamp checks, which allows the variation to be either positive or negative.

I think this is what is intended, the assertion reads:

[tck-id-payloads-nbirth-timestamp] NBIRTH messages MUST include a payload timestamp that denotes the time at which the message was published.