[ 
https://issues.apache.org/jira/browse/GEODE-7958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ernest Burghardt resolved GEODE-7958.
-------------------------------------
    Resolution: Won't Fix

> Unable to unregister keys in C# (???)
> -------------------------------------
>
>                 Key: GEODE-7958
>                 URL: https://issues.apache.org/jira/browse/GEODE-7958
>             Project: Geode
>          Issue Type: Bug
>          Components: native client
>            Reporter: Blake Bender
>            Priority: Major
>
> See 
> [https://stackoverflow.com/questions/59986098/unregisterkeys-method-not-executing-in-apache-geode-native-client].
>   This appears to be specific to C#, which is _very_ strange.
>  
> The branch 
> [https://github.com/pdxcodemonkey/geode-native/tree/registerkeys_stackoverflow_question]
>  contains a test case in /clicache/integration-test2/RegisterKeysTest.cs 
> called RegisterUnregisterAndTest that demonstrates the bug.  This assert on 
> line 127:
> {code:java}
> Assert.Equal(stillInterested.Count, 0); {code}
> fails with stillInterested.Count == 1, so the key registered was not 
> unregistered successfully.  Additionally, this assert on line 135:
> {code:java}
> Assert.Equal(listener.UpdateCount, 3); {code}
> fails after updating the value associated with the registered key again, so 
> not only does the client think the key is still registered, it is still 
> sending notifications for the key.
>  
> Repro:
> i. On a Windows machine, checkout the branch above and build the native client
> ii. Run RegisterKeysTest.RegisterUnregisterAndTest in 
> /clicache/integration-test2
> Expected result:
> test passes
> Actual result:
> test fails on the two asserts described above.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to