Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8a96253

Browse files
committed
refactor: allow for running tests in parallel
1 parent647bdd0 commit8a96253

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

‎test/accessing-reql.js‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ describe('accessing-reql', function () {
2121
connection=awaitr.connect(config)
2222
assert(connection.open)
2323
}
24-
// remove any dbs created between each test case
25-
for(dbNameofawaitr.dbList().run(connection)){
26-
if(dbName==='rethinkdb'||dbName==='test'){
27-
continue
28-
}else{
29-
awaitr.dbDrop(dbName).run(connection)
30-
}
31-
}
3224

3325
awaitconnection.close()
3426
assert(!connection.open)

‎test/cursor.js‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,6 @@ describe('cursor', () => {
2121
tableName=uuid()// Big table to test partial sequence
2222
tableName2=uuid()// small table to test success sequence
2323

24-
// delete all but the system dbs
25-
for(letdbofawaitr.dbList().run()){
26-
if(db==='rethinkdb'||db==='test'){
27-
continue
28-
}else{
29-
try{
30-
awaitr.dbDrop(db).run()
31-
}catch(error){
32-
assert.fail(error)
33-
}
34-
}
35-
}
36-
3724
letresult=awaitr.dbCreate(dbName).run()
3825
assert.equal(result.dbs_created,1)
3926
result=awaitr.db(dbName).tableCreate(tableName).run()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp