• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pywbem / pywbem / 11010
92%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2019 10:21PM UTC
Jobs 1
Files 29
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
11010

push

travis-ci

andy-maier
Fixes #1956: mof_compiler does not send CreateInstance, CreateClass to conn (#1957)

* Fixes issue # 1956, mof_compiler does not write to conn

Fixed issue with the mof_compiler script where it was not sending the
new classes and instances to the repository/wbemserver defined by conn
but to the repository within MOFWBEMConnection.

This consists of a single change to class MOFCompiler in the
constructor to remove the redefinition of handle when a WBEMConnection
is spedified for conn. Now all communication
between the compiler and repository is directly to the the interface
defined by the WBEMConnection.

Previously the MOFWBEMConnection acted as intermediatry which
caused CreateClass, etc. to be sent to the cache/repository defined
in MOFWBEMConnection.

NOTE: There is no test for this in the automated tests because it
depends on the existence of the remote repository and we do not have a
remote repository that we can bring up in the CI environment.

Will add test as part of pegasus tests.

Example:

mof_compiler -s http://localhost tests/unittest/pywbem/test.mof  -v --log all=file -I tests/schema/mofFinal2.51.0/ -n root/PG_Interop
MOF repository: Namespace root/cimv2 in WBEM server http://localhost
Compiling file './tests/unittest/pywbem/test.mof'
Creating class 'root/cimv2':'PyWBEM_Person'
Created class 'root/cimv2':'PyWBEM_Person'
Creating class 'root/cimv2':'PyWBEM_PersonCollection'
Created class 'root/cimv2':'PyWBEM_PersonCollection'
Creating class 'root/cimv2':'PyWBEM_MemberOfPersonCollection'
Created class 'root/cimv2':'PyWBEM_MemberOfPersonCollection'
Creating instance of 'PyWBEM_Person'.
Creating instance of 'PyWBEM_Person'.
Creating instance of 'PyWBEM_Person'.
Creating instance of 'PyWBEM_PersonCollection'.
Creating instance of 'PyWBEM_MemberOfPersonCollection'.
Creating instance of 'PyWBEM_MemberOfPersonCollection'.
Creating instance of 'PyWBEM_MemberOfPersonCollection'.
Creating class 'root/cimv2':'... (continued)

9130 of 10617 relevant lines covered (85.99%)

0.86 hits per line

Jobs
ID Job ID Ran Files Coverage
5 11010.5 (PACKAGE_LEVEL=latest) 28 Nov 2019 10:21PM UTC 0
85.99
Travis Job 11010.5
Source Files on build 11010
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #11010
  • a06bf72c on github
  • Prev Build on master (#10994)
  • Next Build on master (#11086)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc