Skip to content

Commit

Permalink
Minor fixup, skip test again
Browse files Browse the repository at this point in the history
  • Loading branch information
phughk committed Aug 21, 2023
1 parent 2ba5a67 commit 9459cfa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
import com.surrealdb.refactor.types.Value;
import java.net.URI;
import java.util.List;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

public class DemoScenarioTest extends BaseIntegrationTest {
@Test
// @Disabled("Functionality is unimplemented, but having the tests shows the design")
@Disabled("Functionality is unimplemented, but having the tests shows the design")
public void testDemoScenario() throws Exception {
// Setup
URI address =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ public Future<Object> signin(String requestID, Credentials credentials) {
Promise<Object> promise = channel.eventLoop().newPromise();
Promise<Object> popped = requestMap.putIfAbsent(requestID, promise);
if (popped != null) {
// Reinsert whatever we removed; This is actually quite problematic, and we should do a
// contains check before in case
// There will always be race conditions without locks on this
requestMap.put(requestID, popped);
throw new UnhandledSurrealDBNettyState(
"this should probably be a different error as we know what is happening",
Expand Down

0 comments on commit 9459cfa

Please sign in to comment.