GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Integration tests - fix intermittent failure: Unexpected method call Logging.close() · Issue #1541 · googleapis/google-cloud-java

Integration tests - fix intermittent failure: Unexpected method call Logging.close() #1541

New issue
Copy link
New issue
Copy link
Closed
Closed
Integration tests - fix intermittent failure: Unexpected method call Logging.close()#1541
Copy link
Assignees
garrettjonesgoogle
Labels
api: loggingIssues related to the Cloud Logging API.

Description

@garrettjonesgoogle
garrettjonesgoogle
opened on Jan 17, 2017
Issue body actions
Tests in error: 
  ITLoggingTest.testListSinksAsync » Logging io.grpc.StatusRuntimeException: INT...

Exception in thread "Thread-0" java.lang.AssertionError: 
  Unexpected method call Logging.close():
    Logging.write([LogEntry{logName=null, resource=null, timestamp=null, severity=DEBUG, insertId=null, httpRequest=null, labels={levelName=FINEST, levelValue=300}, operation=null, payload=StringPayload{type=STRING, data=message}}], WriteOption{name=LOG_NAME, value=java.log}, WriteOption{name=RESOURCE, value=MonitoredResource{type=global, labels={project_id=project}}}): expected: 1, actual: 1
	at org.easymock.internal.MockInvocationHandler.invoke(MockInvocationHandler.java:44)
	at org.easymock.internal.ObjectMethodsFilter.invoke(ObjectMethodsFilter.java:94)
	at com.sun.proxy.$Proxy11.close(Unknown Source)
	at com.google.cloud.logging.LoggingHandler.close(LoggingHandler.java:375)
	at java.util.logging.LogManager.resetLogger(LogManager.java:1346)
	at java.util.logging.LogManager.reset(LogManager.java:1332)
	at java.util.logging.LogManager$Cleaner.run(LogManager.java:239)

https://travis-ci.org/GoogleCloudPlatform/google-cloud-java/jobs/191392244
https://travis-ci.org/GoogleCloudPlatform/google-cloud-java/jobs/191530116

Activity

  1. garrettjonesgoogle
    added
    blocking GA
    api: loggingIssues related to the Cloud Logging API.
    testing
    on Jan 17, 2017
  2. gregw commented on Jan 18, 2017

    @gregw
    gregw
    on Jan 18, 2017
    More actions

    Note that I have fixed (or at least avoided) this issue in PR #1535 by implemented close to be a noop that avoids calling the mock close.

  3. garrettjonesgoogle commented on Jan 26, 2017

    @garrettjonesgoogle
    garrettjonesgoogle
    on Jan 26, 2017
    ContributorAuthor
    More actions

    Closing out issue now.

  4. garrettjonesgoogle
    closed this as completedon Jan 26, 2017
  5. garrettjonesgoogle
    added
    Status: Release Blocking
    and removed
    blocking GA
    on Mar 10, 2017
  6. JustinBeckwith
    assigned
    garrettjonesgoogle
    on Feb 1, 2021
  7. meltsufin
    added a commit that references this issue on Dec 22, 2025

    test(deps): update dependency com.google.truth:truth to v1.4.1 (#1541)

    63619a0
  8. chingor13
    added a commit that references this issue on Jan 22, 2026

    chore(main): release 2.21.2-SNAPSHOT (#1541)

    af6831d
  9. suztomo
    added a commit that references this issue on Mar 11, 2026

    test(deps): update dependency com.google.truth:truth to v1.4.1 (googl…

    d758479
  10. suztomo
    added 2 commits that reference this issue on Mar 23, 2026

    deps: update dependency org.springframework.boot:spring-boot-starter-…

    90cb755

    chore(main): release 2.16.1 (googleapis#1534)

    a2f1267
  11. suztomo
    added a commit that references this issue on Mar 30, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    a47f931
  12. lqiu96
    added a commit that references this issue on Apr 1, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    bbf2074
  13. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    828db7c

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    c82007b
  14. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore(deps): update dependency com.google.cloud:google-cloud-bigtable…

    1f0b2d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @garrettjonesgoogle
    garrettjonesgoogle

Labels

api: loggingIssues related to the Cloud Logging API.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.