Skip to content

teskit: Fine tunning stress tests to run in testkit #650

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/internal/connection-provider-routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const UNAUTHORIZED_ERROR_CODE = 'Neo.ClientError.Security.Unauthorized'
const DATABASE_NOT_FOUND_ERROR_CODE =
'Neo.ClientError.Database.DatabaseNotFound'
const SYSTEM_DB_NAME = 'system'
const DEFAULT_DB_NAME = ''
const DEFAULT_DB_NAME = null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this discovered with new default db test? I didn't see any failure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I discovered it when I test against clusters using testkit locally.

const DEFAULT_ROUTING_TABLE_PURGE_DELAY = int(30000)

export default class RoutingConnectionProvider extends PooledConnectionProvider {
Expand Down
1 change: 0 additions & 1 deletion src/internal/stream-observers.js
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ class ProcedureRouteObserver extends StreamObserver {
}

if (this._onCompleted) {
console.log('onCompeled exsits', this._records[0])
this._onCompleted(RawRoutingTable.ofRecord(this._records[0]))
}
}
Expand Down
Loading