Commit 7453bec
Unit testing Postgres reconcile loop (#39)
* Adding unit tests
* Use gomock for mocking postgres
* Adding test for not dropping database if multiple Postgres with same database name exist
* Adding test for Extension creation logic
* Adding tests for schema creation logic1 parent a0a3789 commit 7453bec
File tree
237 files changed
+188818
-6
lines changed- pkg
- controller/postgres
- postgres/mock
- vendor
- github.com
- golang/mock
- gomock
- hpcloud/tail
- ratelimiter
- util
- watch
- winfile
- onsi
- ginkgo
- config
- internal
- codelocation
- containernode
- failer
- leafnodes
- remote
- spec_iterator
- specrunner
- spec
- suite
- testingtproxy
- writer
- reporters
- stenographer
- support
- go-colorable
- go-isatty
- types
- gomega
- format
- internal
- assertion
- asyncassertion
- oraclematcher
- testingtsupport
- matchers
- support/goraph
- bipartitegraph
- edge
- node
- util
- types
- golang.org/x
- net/html
- atom
- charset
- text
- encoding
- charmap
- htmlindex
- internal
- identifier
- japanese
- korean
- simplifiedchinese
- traditionalchinese
- unicode
- internal
- language
- compact
- tag
- utf8internal
- language
- runes
- gopkg.in/tomb.v1
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
237 files changed
+188818
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
321 | 321 | | |
322 | 322 | | |
323 | 323 | | |
| 324 | + | |
324 | 325 | | |
325 | 326 | | |
326 | 327 | | |
| |||
543 | 544 | | |
544 | 545 | | |
545 | 546 | | |
| 547 | + | |
546 | 548 | | |
| 549 | + | |
| 550 | + | |
547 | 551 | | |
548 | 552 | | |
549 | 553 | | |
550 | 554 | | |
551 | 555 | | |
| 556 | + | |
552 | 557 | | |
553 | 558 | | |
554 | 559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 253 | | |
259 | 254 | | |
260 | 255 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments