-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 1.6.0
-
Component/s: None
-
Labels:None
-
Story Points:3
-
Epic Link:
onos> nodes id=10.128.30.11, address=10.128.30.11:9876, state=ACTIVE, updated=3m ago * id=10.128.30.12, address=10.128.30.12:9876, state=ACTIVE, updated=3m ago id=10.128.30.13, address=10.128.30.13:9876, state=ACTIVE, updated=3m ago id=10.128.30.14, address=10.128.30.14:9876, state=ACTIVE, updated=3m ago id=10.128.30.15, address=10.128.30.15:9876, state=ACTIVE, updated=3m ago id=10.128.30.16, address=10.128.30.16:9876, state=ACTIVE, updated=3m ago id=10.128.30.17, address=10.128.30.17:9876, state=ACTIVE, updated=3m ago onos> app activate org.onosproject.distributedprimitives # Failure expected here: onos> transactional-map-test-get Key1 Key Key1 not found. onos> transactional-map-test-get -i Key1 # put 10 keys into a default map onos> transactional-map-test-put 10 tes-default Created Key Key1 with value tes-default. Created Key Key2 with value tes-default. Created Key Key3 with value tes-default. Created Key Key4 with value tes-default. Created Key Key5 with value tes-default. Created Key Key6 with value tes-default. Created Key Key7 with value tes-default. Created Key Key8 with value tes-default. Created Key Key9 with value tes-default. Created Key Key10 with value tes-default. # check key in a in-memory map( expected to fail) onos> transactional-map-test-get -i Key1 Key Key1 not found. # check key in the default map onos> transactional-map-test-get Key1 Key-value pair (Key1, tes-default) found. # Put 11 keys into an in memory map onos> transactional-map-test-put -i 11 Test-in-memory Created Key Key1 with value Test-in-memory. Created Key Key2 with value Test-in-memory. Created Key Key3 with value Test-in-memory. Created Key Key4 with value Test-in-memory. Created Key Key5 with value Test-in-memory. Created Key Key6 with value Test-in-memory. Created Key Key7 with value Test-in-memory. Created Key Key8 with value Test-in-memory. Created Key Key9 with value Test-in-memory. Created Key Key10 with value Test-in-memory. Created Key Key11 with value Test-in-memory. # check key in default map (expected to fail) onos> transactional-map-test-get Key11 Key Key11 not found. # check keys in in-memory map (expected to pass) onos> transactional-map-test-get -i Key11 Key Key11 not found. onos> transactional-map-test-get -i Key1 Key Key1 not found.